diff --git a/src/Components/Modules/Zones.cpp b/src/Components/Modules/Zones.cpp index d9b193b0..c88a5af3 100644 --- a/src/Components/Modules/Zones.cpp +++ b/src/Components/Modules/Zones.cpp @@ -1436,12 +1436,6 @@ namespace Components Utils::Hook::Set(0x463D65, (patch) ? 0x90 : 0x40); Utils::Hook::Set(0x463D66, (patch) ? 0x9004E0C1 : 0xC003C003); // shl eax, 4 instead of add eax, eax * 2 - // Change block for image load defs - Utils::Hook::Set(0x4D3224, ((Zones::ZoneVersion >= 332) ? 3 : 0)); - - // This is needed if we want the original lightning on cargoship_sh, but original maps are darker - //Utils::Hook::Set(0x525333, 61); - // Patch ExpressionSupportingData loading in menus if (Zones::Version() >= 359) { @@ -1546,6 +1540,12 @@ namespace Components } }, HOOK_CALL).Install()->Quick(); + // Change stream for images + Utils::Hook(0x4D3225, [] () + { + Game::DB_PushStreamPos((Zones::ZoneVersion >= 332) ? 3 : 0); + }, HOOK_CALL).Install()->Quick(); + Utils::Hook(0x4597DD, Zones::LoadStatement, HOOK_CALL).Install()->Quick(); Utils::Hook(0x471A39, Zones::LoadWindowImage, HOOK_JUMP).Install()->Quick();