mirror of
https://github.com/CookiePLMonster/SilentPatch.git
synced 2024-12-29 15:23:02 +05:00
Mouse rotates an airbone car only with Steer with Mouse option enabled
This commit is contained in:
parent
26d3d20356
commit
17106b72c0
1 changed files with 5 additions and 0 deletions
|
@ -1401,6 +1401,11 @@ __forceinline void Patch_SA_10()
|
||||||
// Impounding after busted works
|
// Impounding after busted works
|
||||||
Nop(0x443292, 5);
|
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
|
// Zones fix
|
||||||
InjectHook(0x572130, GetCurrentZoneLockedOrUnlocked, PATCH_JUMP);
|
InjectHook(0x572130, GetCurrentZoneLockedOrUnlocked, PATCH_JUMP);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue