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.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/g_cmds.c b/src/game/g_cmds.c
index 6b8664ec..32c3c6ee 100644
--- a/src/game/g_cmds.c
+++ b/src/game/g_cmds.c
@@ -1836,6 +1836,8 @@ void Cmd_Spawnbody_f( gentity_t *ent )
VectorMA( ent->client->ps.origin, 128.0f, forward, dummy->r.currentOrigin );
dummy->r.currentOrigin[ 2 ] += 64.0f;
+ dummy->client = level.clients + MAX_CLIENTS;
+
dummy->client->ps.stats[ STAT_PTEAM ] = PTE_HUMANS;
dummy->client->ps.stats[ STAT_PCLASS ] = PCL_H_BASE;