From: Samual Lenks Date: Sat, 24 Aug 2013 23:52:26 +0000 (-0400) Subject: Update debug prints for initialization X-Git-Tag: xonotic-v0.8.0~341^2~6 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=87377cdcfe7483ea4d369d13dba74366f83bf885;p=xonotic%2Fxonotic-data.pk3dir.git Update debug prints for initialization --- diff --git a/qcsrc/common/notifications.qc b/qcsrc/common/notifications.qc index 13229891c..92cecf25c 100644 --- a/qcsrc/common/notifications.qc +++ b/qcsrc/common/notifications.qc @@ -830,7 +830,7 @@ void Create_Notification_Entity( default: { - error(sprintf( + print(sprintf( strcat( "^1NOTIFICATION WITH IMPROPER TYPE: ", "^7net_type = %d, net_name = %s.\n" @@ -871,7 +871,19 @@ void Create_Notification_Entity( break; } - default: print("DAFUQ?\n"); notif_error = TRUE; break; + default: + { + print(sprintf( + strcat( + "^1NOTIFICATION WITH IMPROPER TYPE: ", + "^7net_type = %d, net_name = %s.\n" + ), + typeid, + namestring + )); + notif_error = TRUE; + break; + } } // now check to see if any errors happened