fix: removed hook that can crash when loading zone

This commit is contained in:
WantedDV 2024-02-15 18:55:17 -03:30
parent e4a5cd056e
commit 89c4a9d7a5

View File

@ -847,11 +847,9 @@ namespace Components
// Always refresh arena when loading or unloading a zone
Utils::Hook::Nop(0x485017, 2);
Utils::Hook::Nop(0x4FD8C7, 2); // Gametypes
Utils::Hook::Nop(0x4BDFB7, 2); // Unknown
Utils::Hook::Nop(0x45ED6F, 2); // loadGameInfo
Utils::Hook::Nop(0x4A5888, 2); // UI_InitOnceForAllClients
// Allow hiding specific smodels
Utils::Hook(0x50E67C, Maps::HideModelStub, HOOK_CALL).install()->quick();