[Weapon] Fix bolted fx crash

This commit is contained in:
momo5502 2017-02-12 00:56:46 +01:00
parent 594f41452b
commit 41d6a86395

View File

@ -384,8 +384,8 @@ namespace Components
Utils::Hook::Set(0x5896AB, &unknownMaterialArray[4]);
// Has to do with fx, but somehow lies within the material array
Utils::Hook::Set(0x402069, &unknownMaterialArray[32]);
Utils::Hook::Set(0x4E05D9, &unknownMaterialArray[32]);
//Utils::Hook::Set(0x402069, &unknownMaterialArray[32]);
//Utils::Hook::Set(0x4E05D9, &unknownMaterialArray[32]);
// Patch bg_weaponDefs on the stack
Utils::Hook::Set<DWORD>(0x40C31D, sizeof(bg_weaponDefs));