mirror of
https://github.com/CookiePLMonster/SilentPatch.git
synced 2024-12-28 23:03:01 +05:00
SA newsteam/RGL: Default Steer with Mouse to disabled
This commit is contained in:
parent
37957a1256
commit
0dbe281982
1 changed files with 8 additions and 0 deletions
|
@ -5546,6 +5546,14 @@ void Patch_SA_NewBinaries_Common()
|
|||
InjectHook( setGermanGame, SetUncensoredGame, PATCH_JUMP );
|
||||
InjectHook( setFrenchGame, SetUncensoredGame, PATCH_JUMP );
|
||||
}
|
||||
|
||||
// Default Steer with Mouse to disabled, like in older executables not based on xbox
|
||||
{
|
||||
// mov _ZN8CVehicle22m_bEnableMouseSteeringE, bl ->
|
||||
// mov _ZN8CVehicle22m_bEnableMouseSteeringE, al
|
||||
void* setDefaultPreferences = get_pattern( "89 86 AD 00 00 00 66 89 86 B1 00 00 00", -0xC );
|
||||
Patch( setDefaultPreferences, { 0x90, 0xA2 } );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue