From 9d30b51273bfa5d4fd24b23e7fc28236b99e0199 Mon Sep 17 00:00:00 2001 From: Silent Date: Sun, 20 May 2018 22:00:13 +0200 Subject: [PATCH] Fix crash on newsteam --- SilentPatchSA/SilentPatchSA.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SilentPatchSA/SilentPatchSA.cpp b/SilentPatchSA/SilentPatchSA.cpp index f40bb33..0c7759e 100644 --- a/SilentPatchSA/SilentPatchSA.cpp +++ b/SilentPatchSA/SilentPatchSA.cpp @@ -1075,7 +1075,7 @@ CVehicleModelInfo* __fastcall VehicleModelInfoCtor(CVehicleModelInfo* me) return me; } -static void (*RemoveFromInterestingVehicleList)(CVehicle*) = AddressByVersion( 0x423ED0, Memory::PatternAndOffset("39 10 75 06 C7 00 00 00 00 00 83 C0 04 49 75 F0 5D C3", -10) ); +static void (*RemoveFromInterestingVehicleList)(CVehicle*) = AddressByVersion( 0x423ED0, Memory::PatternAndOffset("39 10 75 06 C7 00 00 00 00 00 83 C0 04 49 75 F0 5D C3", -0x10) ); static void (*orgRecordVehicleDeleted)(CVehicle*); static void RecordVehicleDeleted_AndRemoveFromVehicleList( CVehicle* vehicle ) {