Fix asm
This commit is contained in:
parent
61c994cdda
commit
b1293a0ae4
@ -280,20 +280,21 @@ namespace Components
|
|||||||
{
|
{
|
||||||
__asm
|
__asm
|
||||||
{
|
{
|
||||||
pushad
|
|
||||||
|
|
||||||
call SV_UpdateBots
|
|
||||||
|
|
||||||
// If bot warfare isn't being used let's keep
|
// If bot warfare isn't being used let's keep
|
||||||
// test clients normal functionality
|
// test clients normal functionality
|
||||||
|
push eax
|
||||||
mov eax, Bots::SVBotWarfare
|
mov eax, Bots::SVBotWarfare
|
||||||
cmp byte ptr [eax + 0x10], 0;
|
cmp byte ptr [eax + 0x10], 1
|
||||||
|
pop eax
|
||||||
|
|
||||||
jz skip
|
jz skip
|
||||||
|
|
||||||
call Bots::BotAiAction
|
call SV_UpdateBots
|
||||||
|
ret
|
||||||
|
|
||||||
skip:
|
skip:
|
||||||
|
pushad
|
||||||
|
call Bots::BotAiAction
|
||||||
popad
|
popad
|
||||||
ret
|
ret
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user