Skip to content

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ThirteenAG committed Sep 3, 2024
1 parent ca6c8c5 commit 9b342f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/consoleshadows.ixx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 9b342f4

Please sign in to comment.