nav: do not avoid anyone in narrow places
nav: increase recent-probe repeat time bot: allow to camp with secondary weapon if enough friends alive bot: think runs now at minimum 50fps, instead of every frame on xash3d bot: make multilingual system work on xash3d (except menus right now) engine: mark xash3d engine as modern game version engine: add xash3d-specific cvars that are not registered on goldsrc cfg: do not spam on logs if multilingual or chatter configs not loaded because of game version
This commit is contained in:
parent
6b508b1775
commit
690d09a5d7
9 changed files with 39 additions and 22 deletions
|
|
@ -496,7 +496,7 @@ void BotSupport::installSendTo () {
|
|||
m_sendToDetour.initialize ("ws2_32.dll", "sendto", sendToAddress);
|
||||
|
||||
// enable only on modern games
|
||||
if ((game.is (GameFlags::Modern) || game.is (GameFlags::Xash3D)) && (plat.nix || plat.win) && !plat.arm && !m_sendToDetour.detoured ()) {
|
||||
if (!game.is (GameFlags::Legacy) && (plat.nix || plat.win) && !plat.arm && !m_sendToDetour.detoured ()) {
|
||||
m_sendToDetour.install (reinterpret_cast <void *> (BotSupport::sendTo), true);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue