From 0dcf7cd8842c3cb60acdc672c3c71d415647893a Mon Sep 17 00:00:00 2001 From: Treeki Date: Sat, 4 May 2013 23:14:58 +0200 Subject: fix 1-38 warp zone thing --- src/koopatlas/pathmanager.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') 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); -- cgit v1.2.3