mirror of
https://github.com/CookiePLMonster/SilentPatch.git
synced 2024-11-25 06:42:29 +01:00
Mouse rotates an airbone car only with Steer with Mouse option enabled
This commit is contained in:
parent
26d3d20356
commit
17106b72c0
@ -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<bool*>(0x6B4EC0, bEnableMouseSteering);
|
||||
Patch<bool*>(0x6CE827, bEnableMouseSteering);
|
||||
|
||||
// Zones fix
|
||||
InjectHook(0x572130, GetCurrentZoneLockedOrUnlocked, PATCH_JUMP);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user