diff options
author | Treeki <treeki@gmail.com> | 2012-09-27 23:29:46 +0200 |
---|---|---|
committer | Treeki <treeki@gmail.com> | 2012-09-27 23:29:46 +0200 |
commit | 81ef1a8b7f7d63c72b92f779d73a8b2b0f8158c1 (patch) | |
tree | eb3567c82f79dd6290f95cfb6a6e600cea1e870f /src/koopatlas/pathmanager.cpp | |
parent | 624a89dc12d88973486b39937871c5facf6b9bb6 (diff) | |
download | kamek-81ef1a8b7f7d63c72b92f779d73a8b2b0f8158c1.tar.gz kamek-81ef1a8b7f7d63c72b92f779d73a8b2b0f8158c1.zip |
new levelinfo format and a couple of fixes
Diffstat (limited to 'src/koopatlas/pathmanager.cpp')
-rw-r--r-- | src/koopatlas/pathmanager.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/koopatlas/pathmanager.cpp b/src/koopatlas/pathmanager.cpp index 8a05ea4..c691a89 100644 --- a/src/koopatlas/pathmanager.cpp +++ b/src/koopatlas/pathmanager.cpp @@ -628,8 +628,13 @@ void dWMPathManager_c::moveThroughPath() { save->hudHintL = world->hudHintL; if (dWMHud_c::instance) - dWMHud_c::instance->hideAndShowFooter(); + dWMHud_c::instance->showFooter(); } + } else if (to->worldID == 0) { + OSReport("No world\n"); + save->newerWorldName[0] = 0; + if (dWMHud_c::instance) + dWMHud_c::instance->hideFooter(); } else { OSReport("Not found!\n"); } @@ -710,7 +715,7 @@ void dWMPathManager_c::activatePoint() { isEnteringLevel = true; levelStartWait = 40; - enteredLevel = dScKoopatlas_c::instance->levelInfo.search(w, l); + enteredLevel = dScKoopatlas_c::instance->levelInfo.searchBySlot(w, l); } } |