diff options
author | Tim Angus <tim@ngus.net> | 2006-05-16 20:41:57 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2006-05-16 20:41:57 +0000 |
commit | 5c0efda0ef811b2bafedb2b4f53b083a9b90e1b4 (patch) | |
tree | 972db3bf7fabe5293b383bb51fcb1aa74cc0e309 /src/game/g_cmds.c | |
parent | f68a49a146f20c7b6fc8e19dd1c4e6d58cf473e9 (diff) |
* Removal of bot code
* Refactored botlib parsing code into qcommon
Diffstat (limited to 'src/game/g_cmds.c')
-rw-r--r-- | src/game/g_cmds.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/game/g_cmds.c b/src/game/g_cmds.c index e881ad4e..6ce2d657 100644 --- a/src/game/g_cmds.c +++ b/src/game/g_cmds.c @@ -691,7 +691,7 @@ static void Cmd_Tell_f( gentity_t *ent ) G_Say( ent, target, SAY_TELL, p ); // don't tell to the player self if it was already directed to this player // also don't send the chat back to a bot - if( ent != target && !( ent->r.svFlags & SVF_BOT ) ) + if( ent != target ) G_Say( ent, ent, SAY_TELL, p ); } @@ -2054,7 +2054,6 @@ void G_StopFollowing( gentity_t *ent ) ent->client->ps.eFlags &= ~EF_WALLCLIMB; ent->client->ps.viewangles[ PITCH ] = 0.0f; - ent->r.svFlags &= ~SVF_BOT; ent->client->ps.clientNum = ent - g_entities; CalculateRanks( ); |