From 9b342f43e3a5e62d5a563f02a438643ac6b3953f Mon Sep 17 00:00:00 2001 From: ThirteenAG Date: Tue, 3 Sep 2024 18:13:32 +0800 Subject: [PATCH] small fix --- source/consoleshadows.ixx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/consoleshadows.ixx b/source/consoleshadows.ixx index 79aace3b..926f9208 100644 --- a/source/consoleshadows.ixx +++ b/source/consoleshadows.ixx @@ -120,7 +120,7 @@ public: auto car = FindPlayerCar(); // Disable player/car shadows - if (regs.esi && (regs.esi == car || (regs.esi == getLocalPlayerPed() && car && *(uint32_t*)(car + 0xFA0) == regs.esi))) + if (regs.esi && (regs.esi == car || (regs.esi == getLocalPlayerPed() && car && *(uint32_t*)(car + 0xFA0)))) { *(uintptr_t*)(regs.esp - 4) = loc_AE3867; return;