From 17106b72c088f303fabf8fa9eb7ac6323a7907f9 Mon Sep 17 00:00:00 2001 From: Silent Date: Sun, 10 Aug 2014 18:14:24 +0200 Subject: [PATCH] Mouse rotates an airbone car only with Steer with Mouse option enabled --- SAFix/SilentPatchSA.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/SAFix/SilentPatchSA.cpp b/SAFix/SilentPatchSA.cpp index 956c0f6..4d7f2df 100644 --- a/SAFix/SilentPatchSA.cpp +++ b/SAFix/SilentPatchSA.cpp @@ -1401,6 +1401,11 @@ __forceinline void Patch_SA_10() // Impounding after busted works Nop(0x443292, 5); + // Mouse rotates an airbone car only with Steer with Mouse option enabled + bool* bEnableMouseSteering = *(bool**)0x6AD7AD; // CVehicle::m_bEnableMouseSteering + Patch(0x6B4EC0, bEnableMouseSteering); + Patch(0x6CE827, bEnableMouseSteering); + // Zones fix InjectHook(0x572130, GetCurrentZoneLockedOrUnlocked, PATCH_JUMP);