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