summaryrefslogtreecommitdiff
path: root/src/game/g_cmds.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/g_cmds.c')
-rw-r--r--src/game/g_cmds.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game/g_cmds.c b/src/game/g_cmds.c
index 5e59827c..92ed0311 100644
--- a/src/game/g_cmds.c
+++ b/src/game/g_cmds.c
@@ -1624,6 +1624,9 @@ void Cmd_Class_f( gentity_t *ent )
G_SetOrigin( ent, infestOrigin );
VectorCopy( infestOrigin, ent->client->ps.origin );
SetClientViewAngle( ent, infestAngles );
+
+ //so no one can claim this body as of now
+ victim->killedBy = victim->s.powerups = MAX_CLIENTS;
}
else
{