From 87377cdcfe7483ea4d369d13dba74366f83bf885 Mon Sep 17 00:00:00 2001 From: Samual Lenks Date: Sat, 24 Aug 2013 19:52:26 -0400 Subject: [PATCH] Update debug prints for initialization --- qcsrc/common/notifications.qc | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) 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 -- 2.39.2