summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2013-05-04 23:14:58 +0200
committerTreeki <treeki@gmail.com>2013-05-04 23:14:58 +0200
commit0dcf7cd8842c3cb60acdc672c3c71d415647893a (patch)
tree895777ac6577f70754c029316b56e60c7cd7979e /src
parent283fa7bd6368665b78d943e60db462cd32d52fa1 (diff)
downloadkamek-0dcf7cd8842c3cb60acdc672c3c71d415647893a.tar.gz
kamek-0dcf7cd8842c3cb60acdc672c3c71d415647893a.zip
fix 1-38 warp zone thing
Diffstat (limited to '')
-rw-r--r--src/koopatlas/pathmanager.cpp4
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);