]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Add warning for MSG_ALL
authorSamual Lenks <samual@xonotic.org>
Fri, 28 Dec 2012 00:19:01 +0000 (19:19 -0500)
committerSamual Lenks <samual@xonotic.org>
Fri, 28 Dec 2012 00:19:01 +0000 (19:19 -0500)
qcsrc/common/notifications.qc

index 1658d34a1304dfc431cf66125534a7103e4bae06..89fe61d3c0cf8acc3b723198d9d5b74e22acafc8 100644 (file)
@@ -817,7 +817,8 @@ void Send_Notification(entity client, float broadcast, float net_type, float net
                                WRITE_NOTIFICATION(MSG_BROADCAST)
                                break;
                        }
-                       
+
+                       case MSG_ALL: { backtrace("DO NOT USE MSG_ALL FOR NOTIFICATIONS, IT IS BAD!\n"); break; }
                        default: { backtrace("Unknown MSG_ type to write with!\n"); break; }
                }