From 0e7f57b4965004aea1dcbc6a64bc46c46afc3824 Mon Sep 17 00:00:00 2001 From: Sonic Dreamcaster Date: Sat, 16 Nov 2024 01:20:27 -0300 Subject: [PATCH] Omit usage of Texture_Mottle and Texture_Scroll --- src/engine/fox_std_lib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/engine/fox_std_lib.c b/src/engine/fox_std_lib.c index 42efaf4a..fe35c2bb 100644 --- a/src/engine/fox_std_lib.c +++ b/src/engine/fox_std_lib.c @@ -33,7 +33,7 @@ void Lib_Texture_Scroll(u16* texture, s32 width, s32 height, u8 mode) { s32 v; // LTODO: figure out why this function crashes in other levels - if ((gCurrentLevel != LEVEL_SOLAR)) { + if ((gCurrentLevel != LEVEL_SOLAR)&& (gCurrentLevel != LEVEL_ZONESS)) { return; } // LTodo: [HD-Textures] This is broken @@ -90,7 +90,7 @@ void Lib_Texture_Mottle(u16* dst, u16* src, u8 mode) { // LTODO: figure out why this function crashes in other levels // CAUSES CORRUPTION!!!! - if ((gCurrentLevel != LEVEL_SOLAR) || (gGameState == GSTATE_MAP)) { + if ((gCurrentLevel != LEVEL_SOLAR) && (gCurrentLevel != LEVEL_ZONESS) || (gGameState == GSTATE_MAP)) { return; }