diff options
| author | Anghelo Carvajal <angheloalf95@gmail.com> | 2024-04-01 00:05:02 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-31 20:05:02 -0700 |
| commit | 997c45c2d2a2eebc71417d2d858b23038a3f666e (patch) | |
| tree | c371934677b1b4cd5ba711d3ba17ee22fb02b302 /src/code/z_map_exp.c | |
| parent | 5bef89a6ff33c3e84ad58d201bd1996a0d9f7db4 (diff) | |
Introduce `z64pause_menu.h` header (#1505)
* z64pause_menu.h
* move functions and variables
* Move PauseMenuPage
* move stuff that seems public to the new header
* KALEIDO_OVL_MAX
* bss
* review
* IS_PAUSED
* format
* add argument to pause macros
* Update include/z64pause_menu.h
Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com>
* bss
* More IS_PAUSED I missed
* early returns
* bss
* empty commit to trigger GHA
* bss
* bss
* bss
* includes
* bss
---------
Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com>
Diffstat (limited to 'src/code/z_map_exp.c')
| -rw-r--r-- | src/code/z_map_exp.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/code/z_map_exp.c b/src/code/z_map_exp.c index f04562e03..49e525b9d 100644 --- a/src/code/z_map_exp.c +++ b/src/code/z_map_exp.c @@ -1,5 +1,4 @@ #include "global.h" -#include "overlays/kaleido_scope/ovl_kaleido_scope/z_kaleido_scope.h" s16 sMinimapInitPosX = 0; s16 sMinimapInitPosZ = 0; @@ -240,7 +239,7 @@ void Map_Update(PlayState* play) { func_80105B34(play); - if ((play->pauseCtx.state == PAUSE_STATE_OFF) && (play->pauseCtx.debugEditor == DEBUG_EDITOR_NONE)) { + if (!IS_PAUSED(&play->pauseCtx)) { if (Map_IsInDungeonArea(play)) { floor = func_80109124(player->actor.world.pos.y); if (floor != -1) { |
