Fix regression introduced by Firela ladder - taxi boost jump stopped working

This commit is contained in:
Silent 2019-04-02 18:49:37 +02:00
parent 97347a11ff
commit 031d026e27
No known key found for this signature in database
GPG key ID: AE53149BB0C45AF1

View file

@ -1360,8 +1360,10 @@ namespace FirelaHook
{ {
__asm __asm
{ {
push ecx // Required in 0x6B1FE4: test cl, cl
mov ecx, esi mov ecx, esi
call CVehicle::HasFirelaLadder call CVehicle::HasFirelaLadder
pop ecx
test al, al test al, al
jnz TestFirelaAndFlags_UpdateMovingCollision jnz TestFirelaAndFlags_UpdateMovingCollision
test [esi].hFlagsLocal, FLAG_HYDRAULICS_INSTALLED test [esi].hFlagsLocal, FLAG_HYDRAULICS_INSTALLED