Skip to content

Commit 21b379e

Browse files
committed
Fix vehiclesunglare crash (Fixes #4474)
1 parent 1c7c721 commit 21b379e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Client/game_sa/CVehicleSA.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ static void __declspec(naked) HOOK_Vehicle_PreRender(void)
4646
jle noglare
4747
mov ecx, esi
4848
mov eax, FUNC_CVehicle_DoSunGlare
49-
jmp eax
49+
call eax
5050

5151
noglare:
5252
mov [esp+0D4h], edi

0 commit comments

Comments
 (0)