centerprint_kill --> centerprint_Kill
authorterencehill <piuntn@gmail.com>
Sat, 30 May 2020 14:10:35 +0000 (16:10 +0200)
committerterencehill <piuntn@gmail.com>
Sat, 30 May 2020 14:10:35 +0000 (16:10 +0200)
qcsrc/client/announcer.qc
qcsrc/client/hud/panel/centerprint.qc
qcsrc/client/hud/panel/centerprint.qh
qcsrc/common/notifications/all.qc

index 4995f51..ae04b5b 100644 (file)
@@ -85,7 +85,7 @@ void Announcer_Gamestart()
        {
                if(announcer_countdown)
                {
-                       centerprint_kill(ORDINAL(CPID_ROUND));
+                       centerprint_Kill(ORDINAL(CPID_ROUND));
                        if(announcer_countdown)
                        {
                                delete(announcer_countdown);
index f2563c7..0ddf5f3 100644 (file)
@@ -47,7 +47,7 @@ bool centerprint_showing;
 void centerprint_Add(int new_id, string strMessage, float duration, int countdown_num)
 {
        TC(int, new_id); TC(int, countdown_num);
-       //printf("centerprint_Add(%d, '%s^7', %d, %d);\n", new_id, strMessage, duration, countdown_num);
+       //LOG_INFOF("centerprint_Add: ^2id: %d ^3dur: %d ^5countdown: %d\n'%s'", new_id, duration, countdown_num, strreplace("\n", "^7\\n^7", strMessage));
        int i, j;
 
        if(strMessage == "" && new_id == 0)
@@ -124,7 +124,7 @@ void centerprint_Add(int new_id, string strMessage, float duration, int countdow
        centerprint_countdown_num[j] = countdown_num;
 }
 
-void centerprint_kill(int id)
+void centerprint_Kill(int id)
 {
        TC(int, id);
        centerprint_Add(id, "", 0, 0);
index 9233913..8d26179 100644 (file)
@@ -3,5 +3,5 @@
 
 void centerprint_Add(int new_id, string strMessage, float duration, int countdown_num);
 void centerprint_AddStandard(string strMessage);
-void centerprint_kill(int id);
+void centerprint_Kill(int id);
 void centerprint_KillAll();
index 371bbeb..d6db436 100644 (file)
@@ -1410,7 +1410,7 @@ NET_HANDLE(ENT_CLIENT_NOTIFICATION, bool is_new)
         if (net_name == CPID_Null) {
             centerprint_KillAll();
         } else {
-            centerprint_kill(ORDINAL(net_name));// kill group
+            centerprint_Kill(ORDINAL(net_name));// kill group
         }
         return;
     }