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;