summaryrefslogtreecommitdiff
path: root/src/map_name_popup.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map_name_popup.c')
-rw-r--r--src/map_name_popup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map_name_popup.c b/src/map_name_popup.c
index 1782e9af8..b2109bb82 100644
--- a/src/map_name_popup.c
+++ b/src/map_name_popup.c
@@ -228,7 +228,7 @@ static void ShowMapNamePopUpWindow(void)
if(InBattlePyramid())
{
- if(gMapHeader.mapDataId == 0x17A)
+ if(gMapHeader.mapLayoutId == 0x17A)
{
withoutPrefixPtr = &(mapDisplayHeader[3]);
mapDisplayHeaderSource = gBattlePyramid_MapHeaderStrings[7];