]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Rename fragsleftlast to fragsleft_last.
authorpacker <packer@devfull.de>
Wed, 18 Mar 2020 08:15:06 +0000 (09:15 +0100)
committerpacker <packer@devfull.de>
Wed, 18 Mar 2020 17:54:15 +0000 (18:54 +0100)
qcsrc/server/g_world.qc

index 7aa469818b621ef287583e0ac78c0fa4f78962fc..d365377c023cd70fead893d46013c59e5cda8d97 100644 (file)
@@ -1707,7 +1707,7 @@ void ShuffleMaplist()
 
 float leaderscore;
 float secondscore;
-int fragsleftlast;
+int fragsleft_last;
 float WinningCondition_Scores(float limit, float leadlimit)
 {
        float limitreached;
@@ -1772,7 +1772,7 @@ float WinningCondition_Scores(float limit, float leadlimit)
 
                        fragsleft = fragsleft & -fragsleft; // lowest significant bit
 
-                       if (fragsleftlast != fragsleft) // do not announce same remaining frags multiple times
+                       if (fragsleft_last != fragsleft) // do not announce same remaining frags multiple times
                        {
                                if (fragsleft & BIT(1))
                                        Send_Notification(NOTIF_ALL, NULL, MSG_ANNCE, ANNCE_REMAINING_FRAG_1);
@@ -1781,7 +1781,7 @@ float WinningCondition_Scores(float limit, float leadlimit)
                                else if (fragsleft & BIT(3))
                                        Send_Notification(NOTIF_ALL, NULL, MSG_ANNCE, ANNCE_REMAINING_FRAG_3);
 
-                               fragsleftlast = fragsleft;
+                               fragsleft_last = fragsleft;
                        }
                }
        }