summaryrefslogtreecommitdiff
path: root/src/engine
diff options
context:
space:
mode:
authorSonic Dreamcaster <alejandro.asenjo88@gmail.com>2024-11-16 01:20:27 -0300
committerSonic Dreamcaster <alejandro.asenjo88@gmail.com>2024-11-16 01:20:27 -0300
commit0e7f57b4965004aea1dcbc6a64bc46c46afc3824 (patch)
tree8e1a596d309071bd10fe56f9a78b4fdc3610f087 /src/engine
parent536967b4032f8325bfcdd5a376ecf20e68010085 (diff)
Omit usage of Texture_Mottle and Texture_Scroll
Diffstat (limited to 'src/engine')
-rw-r--r--src/engine/fox_std_lib.c4
1 files 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;
}