diff options
author | Treeki <treeki@gmail.com> | 2012-09-15 17:48:38 +0200 |
---|---|---|
committer | Treeki <treeki@gmail.com> | 2012-09-15 17:48:38 +0200 |
commit | 69b2b83ac585121b6cc37ff8fdcddf9ebd5cd5ce (patch) | |
tree | 42d5f230af7150d7ab1f3e283eba2e10ea7904ca /src/koopatlas/pathmanager.cpp | |
parent | a16adae746a5d4814a781f583d18dd79d3e7d43b (diff) | |
download | kamek-69b2b83ac585121b6cc37ff8fdcddf9ebd5cd5ce.tar.gz kamek-69b2b83ac585121b6cc37ff8fdcddf9ebd5cd5ce.zip |
initial version of file select
Diffstat (limited to 'src/koopatlas/pathmanager.cpp')
-rw-r--r-- | src/koopatlas/pathmanager.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/koopatlas/pathmanager.cpp b/src/koopatlas/pathmanager.cpp index ffc4dfd..49ee728 100644 --- a/src/koopatlas/pathmanager.cpp +++ b/src/koopatlas/pathmanager.cpp @@ -560,6 +560,13 @@ void dWMPathManager_c::moveThroughPath() { SaveBlock *save = GetSaveFile()->GetBlock(-1); save->current_path_node = pathLayer->findNodeID(to); + if (to->type == dKPNode_s::LEVEL) { + NWRWorld nWorld = NewerWorldForLevelID(to->levelNumber[0], to->levelNumber[1]); + if (nWorld != UNKNOWN_WORLD) { + save->currentNewerWorld = (u8)nWorld; + } + } + dWMHud_c::instance->showPointBar(); SpammyReport("Point bar shown\n"); } else { |