From 031d026e27f9ed7be256ab98dc94f2574d16aae8 Mon Sep 17 00:00:00 2001 From: Silent Date: Tue, 2 Apr 2019 18:49:37 +0200 Subject: [PATCH] Fix regression introduced by Firela ladder - taxi boost jump stopped working --- SilentPatchSA/SilentPatchSA.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/SilentPatchSA/SilentPatchSA.cpp b/SilentPatchSA/SilentPatchSA.cpp index 4300962..469ed27 100644 --- a/SilentPatchSA/SilentPatchSA.cpp +++ b/SilentPatchSA/SilentPatchSA.cpp @@ -1360,8 +1360,10 @@ namespace FirelaHook { __asm { + push ecx // Required in 0x6B1FE4: test cl, cl mov ecx, esi call CVehicle::HasFirelaLadder + pop ecx test al, al jnz TestFirelaAndFlags_UpdateMovingCollision test [esi].hFlagsLocal, FLAG_HYDRAULICS_INSTALLED