diff --git a/src/game/g_active.c b/src/game/g_active.c index 902b2d9b3..d0a3b1e4d 100644 --- a/src/game/g_active.c +++ b/src/game/g_active.c @@ -272,12 +272,6 @@ void PushBot(gentity_t *ent, gentity_t *other) VectorNormalize(other->client->ps.velocity); VectorScale(other->client->ps.velocity, oldspeed, other->client->ps.velocity); } - // - // also, if "ent" is a bot, tell "other" to move! - if (rand() % 50 == 0 && (ent->r.svFlags & SVF_BOT) && oldspeed < 10) - { - BotVoiceChatAfterIdleTime(ent->s.number, "Move", SAY_TEAM, 1000, qfalse, 20000, qfalse); - } } /* @@ -358,24 +352,6 @@ qboolean ReadyToConstruct(gentity_t *ent, gentity_t *constructible, qboolean upd return qtrue; } -/* -============== -CheckBotImpacts -============== -*/ -void CheckBotImpacts(gentity_t *ent, gentity_t *other) -{ - char *blockEnts[] = { "func_explosive", NULL }; - int j; - - for (j = 0; blockEnts[j]; j++) - { - if (other->classname && !Q_stricmp(other->classname, blockEnts[j])) - { - BotSetBlockEnt(ent->s.number, other->s.number); - } - } -} //============================================================== @@ -431,11 +407,6 @@ void ClientImpacts(gentity_t *ent, pmove_t *pm) PushBot(other, ent); } - if (ent->r.svFlags & SVF_BOT) - { - CheckBotImpacts(ent, other); - } - if (!other->touch) { continue;