From 422f78100eb5b0c685c68ed7943f119982e182be Mon Sep 17 00:00:00 2001 From: Samual Lenks Date: Thu, 13 Dec 2012 19:06:58 -0500 Subject: [PATCH] It's december now, silly-- also, comment out some old debug prints --- qcsrc/common/notifications.qc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/qcsrc/common/notifications.qc b/qcsrc/common/notifications.qc index 12dc60725..c68f413c5 100644 --- a/qcsrc/common/notifications.qc +++ b/qcsrc/common/notifications.qc @@ -1,6 +1,6 @@ // ================================================ // Unified notification system, written by Samual -// Last updated: November, 2012 +// Last updated: December, 2012 // ================================================ // main types/groups of notifications @@ -19,7 +19,7 @@ #define BOT_PING -1 -// Since this is code uses macro processors to list notifications, +// Since this code uses macro processors to list notifications, // the normal compiler sees these checks as "constant" and throws // a warning. We have to get around this by using another function. #define NOTIF_MATCH(a,b) if(min(NOTIF_MAX, a) == b) @@ -534,7 +534,7 @@ void HUD_Notify_Push(string icon, string attacker, string victim) void Local_Notification(float net_type, float net_name, string s1, string s2, float f1, float f2, float f3) { - print("Local_Notification(", ftos(net_type), ", ", Get_Field_Value(F_NAME, net_type, net_name), strcat(", ", s1, ", ", s2, ", ", ftos(f1), strcat(", ", ftos(f2), ", ", ftos(f3), ");\n"))); + //print("Local_Notification(", ftos(net_type), ", ", Get_Field_Value(F_NAME, net_type, net_name), strcat(", ", s1, ", ", s2, ", ", ftos(f1), strcat(", ", ftos(f2), ", ", ftos(f3), ");\n"))); switch(net_type) { case MSG_INFO: @@ -627,7 +627,7 @@ void Send_Notification(entity client, float broadcast, float net_type, float net if(net_type && net_name) { //print("notification: ", Get_Field_Value(F_NAME, net_type, net_name), ": ", ftos(net_name), ".\n"); - print("Send_Notification(", ftos(net_type), ", ", Get_Field_Value(F_NAME, net_type, net_name), strcat(", ", s1, ", ", s2, ", ", ftos(f1), strcat(", ", ftos(f2), ", ", ftos(f3), ");\n"))); + //print("Send_Notification(", ftos(net_type), ", ", Get_Field_Value(F_NAME, net_type, net_name), strcat(", ", s1, ", ", s2, ", ", ftos(f1), strcat(", ", ftos(f2), ", ", ftos(f3), ");\n"))); float stringcount = stof(Get_Field_Value(F_STRNUM, net_type, net_name)); float floatcount = stof(Get_Field_Value(F_FLNUM, net_type, net_name)); -- 2.39.2