From 3481c110f7e4d81b5010c8825b87f8820693b88e Mon Sep 17 00:00:00 2001 From: Baoulettes Date: Tue, 17 May 2022 14:02:19 +0200 Subject: [PATCH] This need a scene else it show everywhere oof --- soh/src/code/z_map_exp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/soh/src/code/z_map_exp.c b/soh/src/code/z_map_exp.c index 60f68f062..5402cee44 100644 --- a/soh/src/code/z_map_exp.c +++ b/soh/src/code/z_map_exp.c @@ -792,7 +792,7 @@ void Minimap_Draw(GlobalContext* globalCtx) { G_TX_NOMASK, G_TX_NOLOD, G_TX_NOLOD); gSPWideTextureRectangle(OVERLAY_DISP++, entranceX << 2, entranceY << 2, (entranceX + 32) << 2, (entranceY + 8) << 2, G_TX_RENDERTILE, 0, 0, 1 << 10, 1 << 10); - } else if (CVar_GetS32("gAlwaysShowDungeonMinimapIcon", 0) != 0){ + } else if ((globalCtx->sceneNum == SCENE_SPOT08) && CVar_GetS32("gAlwaysShowDungeonMinimapIcon", 0) != 0){ gDPLoadTextureBlock(OVERLAY_DISP++, gMapDungeonEntranceIconTex, G_IM_FMT_RGBA, G_IM_SIZ_16b, 8, 8, 0, G_TX_NOMIRROR | G_TX_WRAP, G_TX_NOMIRROR | G_TX_WRAP, G_TX_NOMASK, G_TX_NOMASK, G_TX_NOLOD, G_TX_NOLOD);