Don't announce frags remaining if leadlimit_and_fraglimit 1 and fraglimit 0 and leadl...
authorterencehill <piuntn@gmail.com>
Sun, 22 Mar 2020 12:03:04 +0000 (13:03 +0100)
committerterencehill <piuntn@gmail.com>
Sun, 22 Mar 2020 12:03:04 +0000 (13:03 +0100)
commitd144c8153c29556e45d8ec4be7774f68c9611e59
treeb3c6236f7433de23928e14a2b989c330b2e051ef
parent6a4524be3175ded00bb4cf97ea35300117f756c9
Don't announce frags remaining if leadlimit_and_fraglimit 1 and fraglimit 0 and leadlimit > 0 since scoring rules ignore leadlimit in this case.

Basically I've just added 'if (limit)' before 'fragsleft = max(leadingfragsleft, fragsleft);', other changes are just code rearrangement.
Also removed 'if (fragsleft > 3) fragsleft = 0;' as it was just an negligible optimization
qcsrc/server/g_world.qc