nav: fallback to whole map search if buckets fails
bot: improved breakable destroying aim: improved short-range firing ctrl: prevent commands execution while disconnected from server build: fix cmake for apple silicon builds
This commit is contained in:
parent
7238fe76f5
commit
5eab5dfb3c
12 changed files with 100 additions and 90 deletions
|
|
@ -2207,6 +2207,10 @@ BotControl::BotControl () {
|
|||
}
|
||||
|
||||
void BotControl::handleEngineCommands () {
|
||||
if (m_denyCommands) {
|
||||
return;
|
||||
}
|
||||
|
||||
collectArgs ();
|
||||
setIssuer (game.getLocalEntity ());
|
||||
|
||||
|
|
@ -2215,6 +2219,10 @@ void BotControl::handleEngineCommands () {
|
|||
}
|
||||
|
||||
bool BotControl::handleClientSideCommandsWrapper (edict_t *ent, bool isMenus) {
|
||||
if (m_denyCommands) {
|
||||
return false;
|
||||
}
|
||||
|
||||
collectArgs ();
|
||||
setIssuer (ent);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue