Merge pull request #91 from WantedDV/gametypes_hook
fix: removed hook that can crash when loading zone
This commit is contained in:
commit
4ec7aea6bd
@ -847,12 +847,10 @@ namespace Components
|
|||||||
|
|
||||||
// Always refresh arena when loading or unloading a zone
|
// Always refresh arena when loading or unloading a zone
|
||||||
Utils::Hook::Nop(0x485017, 2);
|
Utils::Hook::Nop(0x485017, 2);
|
||||||
Utils::Hook::Nop(0x4FD8C7, 2); // Gametypes
|
|
||||||
Utils::Hook::Nop(0x4BDFB7, 2); // Unknown
|
Utils::Hook::Nop(0x4BDFB7, 2); // Unknown
|
||||||
Utils::Hook::Nop(0x45ED6F, 2); // loadGameInfo
|
Utils::Hook::Nop(0x45ED6F, 2); // loadGameInfo
|
||||||
Utils::Hook::Nop(0x4A5888, 2); // UI_InitOnceForAllClients
|
Utils::Hook::Nop(0x4A5888, 2); // UI_InitOnceForAllClients
|
||||||
|
|
||||||
|
|
||||||
// Allow hiding specific smodels
|
// Allow hiding specific smodels
|
||||||
Utils::Hook(0x50E67C, Maps::HideModelStub, HOOK_CALL).install()->quick();
|
Utils::Hook(0x50E67C, Maps::HideModelStub, HOOK_CALL).install()->quick();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user