From: packer Date: Wed, 18 Mar 2020 08:15:06 +0000 (+0100) Subject: Rename fragsleftlast to fragsleft_last. X-Git-Tag: xonotic-v0.8.5~1133^2~16^2~1 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=f052f5390a134c3fc3238367b1aa2e4ac3bfd48e;p=xonotic%2Fxonotic-data.pk3dir.git Rename fragsleftlast to fragsleft_last. --- diff --git a/qcsrc/server/g_world.qc b/qcsrc/server/g_world.qc index 7aa469818..d365377c0 100644 --- a/qcsrc/server/g_world.qc +++ b/qcsrc/server/g_world.qc @@ -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; } } }