diff options
author | Colin Noga <Tempus@chronometry.ca> | 2012-07-24 03:29:59 -0500 |
---|---|---|
committer | Colin Noga <Tempus@chronometry.ca> | 2012-07-24 03:29:59 -0500 |
commit | 0b935b5b0a4dfba5621d5f925ca088007811fc49 (patch) | |
tree | 888ea20cbf2707b1588553a010867e9473994151 /src/koopatlas/pathmanager.cpp | |
parent | 86cef888c196c138f71388aa9b701ac09eb95d14 (diff) | |
download | kamek-0b935b5b0a4dfba5621d5f925ca088007811fc49.tar.gz kamek-0b935b5b0a4dfba5621d5f925ca088007811fc49.zip |
added in all the wm shop junk - can not get models to render overtop, though
Diffstat (limited to 'src/koopatlas/pathmanager.cpp')
-rw-r--r-- | src/koopatlas/pathmanager.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/koopatlas/pathmanager.cpp b/src/koopatlas/pathmanager.cpp index 41515a6..b2d649d 100644 --- a/src/koopatlas/pathmanager.cpp +++ b/src/koopatlas/pathmanager.cpp @@ -340,7 +340,13 @@ void dWMPathManager_c::activatePoint() { int w = currentNode->levelNumber[0] - 1; int l = currentNode->levelNumber[1] - 1; - if ((l > 29) && (l < 38)) { + if (l == 0) { + dWMShop_c::instance->LoadShopForWorld(w); + dScKoopatlas_c::instance->state.setState(&dScKoopatlas_c::instance->StateID_ShopWait); + return; + } + + if ((l >= 29) && (l <= 36)) { SaveBlock *save = GetSaveFile()->GetBlock(-1); u32 conds = save->GetLevelCondition(w, l); |