This commit is contained in:
FutureRave 2022-01-24 03:20:57 +00:00
parent 61c994cdda
commit b1293a0ae4
No known key found for this signature in database
GPG Key ID: E883E2BC9657D955

View File

@ -280,20 +280,21 @@ namespace Components
{
__asm
{
pushad
call SV_UpdateBots
// If bot warfare isn't being used let's keep
// test clients normal functionality
push eax
mov eax, Bots::SVBotWarfare
cmp byte ptr [eax + 0x10], 0;
cmp byte ptr [eax + 0x10], 1
pop eax
jz skip
call Bots::BotAiAction
call SV_UpdateBots
ret
skip:
pushad
call Bots::BotAiAction
popad
ret
}