diff options
Diffstat (limited to 'src/koopatlas/pathmanager.cpp')
-rw-r--r-- | src/koopatlas/pathmanager.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/koopatlas/pathmanager.cpp b/src/koopatlas/pathmanager.cpp index c09cd55..c35ee4a 100644 --- a/src/koopatlas/pathmanager.cpp +++ b/src/koopatlas/pathmanager.cpp @@ -1368,7 +1368,9 @@ void dWMPathManager_c::moveThroughPath(int pressedDir) { if (world->worldID > 0) { dLevelInfo_c *linfo = &dLevelInfo_c::s_info; dLevelInfo_c::entry_s *lastLevel; - if (world->worldID != 7) + if (world->worldID == 0) + lastLevel = linfo->searchByDisplayNum(1, 27); + else if (world->worldID != 7) lastLevel = linfo->searchByDisplayNum(world->worldID-1, lastLevelIDs[world->worldID-1]); else lastLevel = linfo->searchByDisplayNum(7, 3); |