summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorM. Kristall <mkpdev@gmail.com>2009-10-03 11:50:40 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:15:24 +0000
commit8ea44e9a37318d6beda7493405825fac974f7a94 (patch)
tree9283b80e361300ad7fe193dd517a9d9cef5a421c /src
parent207d3b1e0c289bdbbff98703a7266d238cadac90 (diff)
* (bug 3690) Suicides aren't cancelled when leaving/switching teams (oops)
Diffstat (limited to 'src')
-rw-r--r--src/game/g_cmds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/g_cmds.c b/src/game/g_cmds.c
index 37a63a6e..9a835acd 100644
--- a/src/game/g_cmds.c
+++ b/src/game/g_cmds.c
@@ -557,7 +557,7 @@ void G_LeaveTeam( gentity_t *self )
G_StopFromFollowing( self );
G_TeamVote( self, qfalse );
- ent->suicideTime = 0;
+ self->suicideTime = 0;
for( i = 0; i < level.num_entities; i++ )
{