mirror of
https://github.com/sfall-team/sfall.git
synced 2026-07-27 16:52:34 -07:00
Replaced PID number in ScannerAutomapHook() with its define name for better understandability.
This commit is contained in:
+1
-1
@@ -718,7 +718,7 @@ static const DWORD ScannerHookFail=0x41BC65;
|
||||
static void __declspec(naked) ScannerAutomapHook() {
|
||||
__asm {
|
||||
mov eax, ds:[_obj_dude];
|
||||
mov edx, 59;
|
||||
mov edx, PID_MOTION_SENSOR;
|
||||
call inven_pid_is_carried_ptr_;
|
||||
test eax, eax;
|
||||
jz fail;
|
||||
|
||||
Reference in New Issue
Block a user