Skip to content

Commit

Permalink
Build 4; Rev.04
Browse files Browse the repository at this point in the history
* Fixed crash when you select a paintable vinyl when Special vinyls
category is enabled.
* Changed the string used for "Drift" camera name. It uses a leftover
string from Language Files now. (Note: It's uppercase.)
  • Loading branch information
nlgxzef committed May 15, 2016
1 parent 16a3794 commit e393827
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions NFSMWExtraOptions/dllmain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ void __declspec(naked) CameraNamesCodeCave()
jmp CameraNamesCodeCaveExit

drift :
mov eax, 0x0066568A
mov eax, 0xA1211428
jmp CameraNamesCodeCaveExit

pursuit :
Expand Down Expand Up @@ -919,7 +919,7 @@ void Init()
injector::WriteMemory<unsigned char>(0x7BAEC3, 0x0A, true);
injector::WriteMemory<unsigned char>(0x7BAF10, 0x0A, true);
injector::WriteMemory<unsigned char>(0x7bca3c, 0x0A, true);
injector::WriteMemory<unsigned char>(0x7c0ae6, 0x0A, true);
injector::WriteMemory<unsigned char>(0x7c0ae7, 0x0A, true);
}

// Fix (ignore) starting heat level when a challenge executed from quick race screen
Expand Down Expand Up @@ -1092,14 +1092,6 @@ DWORD WINAPI Thing(LPVOID)

injector::WriteMemory<unsigned char>(0x6f48e7, 0xEB, true); // Use selected cars at Challenge Series
}

if (Strings && EnableCameras && !once1) // Change "Quit to Xbox Live Main Menu" string to "Drift"
{
DWORD QuitToXboxStringAddr = (Strings + 0xAC);
char* DriftString = "Drift";
injector::WriteMemory<DWORD>(QuitToXboxStringAddr, (DWORD)DriftString, true);
once1 = 1;
}

if (Strings && nlgzrgnTakeOver && !once2) // Indicate if ExOpts is Loaded at splash screen (If nlgzrgnTakeOver enabled)
{
Expand Down

0 comments on commit e393827

Please sign in to comment.