Skip to content

Commit 1f8ad37

Browse files
authored
Fix crash when player dies on fire (#4210)
1 parent 2f8b758 commit 1f8ad37

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Client/game_sa/CFireSA.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,13 +242,16 @@ static void _declspec(naked) HOOK_CFire_Extinguish()
242242
_asm
243243
{
244244
mov [eax+730h], edi
245-
mov ebx, [esp+8]
245+
246+
push ebx
247+
mov ebx, [esp+0Ch]
246248

247249
push ebx
248250
push eax
249251
call AbortFireTask
250252
add esp, 8
251253

254+
pop ebx
252255
jmp CONTINUE_CFire_Extinguish
253256
}
254257
}

0 commit comments

Comments
 (0)