diff options
Diffstat (limited to 'src/landmark.c')
-rw-r--r-- | src/landmark.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/landmark.c b/src/landmark.c index 0572da4ca..520f88718 100644 --- a/src/landmark.c +++ b/src/landmark.c @@ -360,7 +360,7 @@ static const struct LandmarkList gLandmarkLists[] = {MAPSEC_ROUTE_134, 1, Landmarks_OceanCurrent}, {MAPSEC_ROUTE_134, 2, Landmarks_Route134_2}, {MAPSEC_MT_CHIMNEY, 2, Landmarks_MtChimney_2}, - {MAPSEC_NOTHING, 0, NULL}, + {MAPSEC_NONE, 0, NULL}, }; static const struct Landmark *const *GetLandmarks(u8 mapSection, u8 id); @@ -396,7 +396,7 @@ static const struct Landmark *const *GetLandmarks(u8 mapSection, u8 id) { u16 i = 0; - for (; gLandmarkLists[i].mapSection != MAPSEC_NOTHING; i++) + for (; gLandmarkLists[i].mapSection != MAPSEC_NONE; i++) { if (gLandmarkLists[i].mapSection > mapSection) return NULL; @@ -404,7 +404,7 @@ static const struct Landmark *const *GetLandmarks(u8 mapSection, u8 id) break; } - if (gLandmarkLists[i].mapSection == MAPSEC_NOTHING) + if (gLandmarkLists[i].mapSection == MAPSEC_NONE) return NULL; for (; gLandmarkLists[i].mapSection == mapSection; i++) |