[Weapon] Workaround for the bounce sound crash

This commit is contained in:
momo5502 2017-02-12 17:16:01 +01:00
parent 78b1c1a597
commit 9755059f2e

View File

@ -435,5 +435,14 @@ namespace Components
// Skip double loading for fs_game // Skip double loading for fs_game
Utils::Hook::Set<BYTE>(0x4081FD, 0xEB); Utils::Hook::Set<BYTE>(0x4081FD, 0xEB);
// Don't load bounce sounds for now, it causes crashes
// TODO: Actually check the weaponfiles and/or reset the soundtable correctly!
Utils::Hook::Nop(0x57A360, 5);
Utils::Hook::Nop(0x57A366, 6);
// Clear weapons independently from fs_game
//Utils::Hook::Nop(0x452C1D, 2);
//Utils::Hook::Nop(0x452C24, 5);
} }
} }