Don't load custom fastfiles for zonebuilder.

This commit is contained in:
momo5502 2016-01-28 17:49:33 +01:00
parent c4daed0bad
commit 23b8a60765

View File

@ -133,8 +133,11 @@ namespace Components
Utils::Hook(0x44DA90, FastFiles::GetZoneLocation, HOOK_JUMP).Install()->Quick(); Utils::Hook(0x44DA90, FastFiles::GetZoneLocation, HOOK_JUMP).Install()->Quick();
// Allow dlc ui zone loading // Allow dlc ui zone loading
Utils::Hook(0x506BC7, FastFiles::LoadInitialZones, HOOK_CALL).Install()->Quick(); if (!ZoneBuilder::IsEnabled())
Utils::Hook(0x60B4AC, FastFiles::LoadDLCUIZones, HOOK_CALL).Install()->Quick(); {
Utils::Hook(0x506BC7, FastFiles::LoadInitialZones, HOOK_CALL).Install()->Quick();
Utils::Hook(0x60B4AC, FastFiles::LoadDLCUIZones, HOOK_CALL).Install()->Quick();
}
// basic checks (hash jumps, both normal and playlist) // basic checks (hash jumps, both normal and playlist)
Utils::Hook::Nop(0x5B97A3, 2); Utils::Hook::Nop(0x5B97A3, 2);