summaryrefslogtreecommitdiff
path: root/src/game
diff options
context:
space:
mode:
Diffstat (limited to 'src/game')
-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++ )
{