From 0b935b5b0a4dfba5621d5f925ca088007811fc49 Mon Sep 17 00:00:00 2001 From: Colin Noga Date: Tue, 24 Jul 2012 03:29:59 -0500 Subject: added in all the wm shop junk - can not get models to render overtop, though --- src/koopatlas/pathmanager.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/koopatlas/pathmanager.cpp') 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); -- cgit v1.2.3