From 8ea44e9a37318d6beda7493405825fac974f7a94 Mon Sep 17 00:00:00 2001 From: "M. Kristall" Date: Sat, 3 Oct 2009 11:50:40 +0000 Subject: * (bug 3690) Suicides aren't cancelled when leaving/switching teams (oops) --- src/game/g_cmds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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++ ) { -- cgit