AntiCheat refactoring part 3

This commit is contained in:
momo5502 2016-11-03 21:47:43 +01:00
parent 6afc193778
commit c951d98d5f

View File

@ -1455,7 +1455,7 @@ namespace Components
AntiCheat::EmptyHash(); AntiCheat::EmptyHash();
} }
bool Zones::CheckGameMapSp(int type) __declspec(noinline) bool Zones::CheckGameMapSp(int type)
{ {
if (Zones::Version() >= VERSION_ALPHA2) if (Zones::Version() >= VERSION_ALPHA2)
{ {
@ -1472,11 +1472,11 @@ namespace Components
pushad pushad
push eax push eax
call CheckGameMapSp call Zones::CheckGameMapSp
add esp, 4h add esp, 4h
test eax, eax test al, al
jz returnSafe jnz returnSafe
popad popad
push 4189AEh push 4189AEh