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:
jeefo 2025-01-17 22:43:35 +03:00
commit 5eab5dfb3c
No known key found for this signature in database
GPG key ID: D696786B81B667C8
12 changed files with 100 additions and 90 deletions

View file

@ -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);