diff options
author | Tim Angus <tim@ngus.net> | 2002-02-17 02:08:49 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2002-02-17 02:08:49 +0000 |
commit | c4a072052166b5069208492f6eea06f14fe78bba (patch) | |
tree | bb8769e88ccf08df4100672e3a116147cfbf1730 /src/game/g_cmds.c | |
parent | 2527ce7054755544a4fe1269591663bfd2d139ac (diff) |
Added cg_wwFollow and fixed a subtle bug in the process
Diffstat (limited to 'src/game/g_cmds.c')
-rw-r--r-- | src/game/g_cmds.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game/g_cmds.c b/src/game/g_cmds.c index c69e6da4..9eed943b 100644 --- a/src/game/g_cmds.c +++ b/src/game/g_cmds.c @@ -2277,6 +2277,9 @@ void Cmd_Spawnbody_f( gentity_t *ent ) { gentity_t *dummy = G_Spawn( ); vec3_t forward; + + if( !CheatsOk( ent ) ) + return; AngleVectors( ent->client->ps.viewangles, forward, NULL, NULL ); VectorMA( ent->client->ps.origin, 128.0f, forward, dummy->r.currentOrigin ); |