[quake3-commits] r1644 - trunk/code/game
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Tue Oct 6 10:10:46 EDT 2009
Author: thilo
Date: 2009-10-06 10:10:45 -0400 (Tue, 06 Oct 2009)
New Revision: 1644
Modified:
trunk/code/game/g_team.c
Log:
Don't award assist bonuses to flag capturing player, https://bugzilla.icculus.org/show_bug.cgi?id=3260
Modified: trunk/code/game/g_team.c
===================================================================
--- trunk/code/game/g_team.c 2009-10-05 22:07:01 UTC (rev 1643)
+++ trunk/code/game/g_team.c 2009-10-06 14:10:45 UTC (rev 1644)
@@ -770,7 +770,9 @@
// Ok, let's do the player loop, hand out the bonuses
for (i = 0; i < g_maxclients.integer; i++) {
player = &g_entities[i];
- if (!player->inuse)
+
+ // also make sure we don't award assist bonuses to the flag carrier himself.
+ if (!player->inuse || player == other)
continue;
if (player->client->sess.sessionTeam !=
More information about the quake3-commits
mailing list