summaryrefslogtreecommitdiff
path: root/src/code/z_map_exp.c
diff options
context:
space:
mode:
authorAnghelo Carvajal <angheloalf95@gmail.com>2023-03-24 14:38:04 -0300
committerGitHub <noreply@github.com>2023-03-24 14:38:04 -0300
commit147e4fcedca332070ca15dbc1db358ce2d42972c (patch)
tree30577817a17f58de61a3679cb404fa58e922b750 /src/code/z_map_exp.c
parentf3d2c56d1deed7194c77909ee41ed5b8ef3ef8a2 (diff)
THA docs (#1177)
* THA docs Co-authored-by: Tharo <17233964+Thar0@users.noreply.github.com> * format * namefixer * yada * remove zero pad comment * Update include/z64.h Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com> * Update include/thga.h Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com> * namefixer * bss * namefixer --------- Co-authored-by: Tharo <17233964+Thar0@users.noreply.github.com> Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com>
Diffstat (limited to 'src/code/z_map_exp.c')
-rw-r--r--src/code/z_map_exp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/code/z_map_exp.c b/src/code/z_map_exp.c
index ac78d1229..381387c5e 100644
--- a/src/code/z_map_exp.c
+++ b/src/code/z_map_exp.c
@@ -180,7 +180,7 @@ void Map_Init(PlayState* play) {
func_80105C40(play->roomCtx.curRoom.num);
interfaceCtx->unk_278 = -1;
interfaceCtx->dungeonOrBossAreaMapIndex = -1;
- interfaceCtx->mapSegment = THA_AllocEndAlign16(&play->state.heap, 0x1000);
+ interfaceCtx->mapSegment = THA_AllocTailAlign16(&play->state.heap, 0x1000);
if (func_8010A2AC(play)) {
gSaveContext.mapIndex = func_8010A238(play);
return;