From 908363a9f3546fc785e3e099ad8a31e618de703e Mon Sep 17 00:00:00 2001 From: Treeki Date: Fri, 27 Jul 2012 16:28:28 +0200 Subject: this fix might work, it might not, I don't know, I can't compile it --- src/koopatlas/camera.cpp | 4 ++-- src/koopatlas/pathmanager.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/koopatlas/camera.cpp b/src/koopatlas/camera.cpp index 1347c93..95cffd3 100644 --- a/src/koopatlas/camera.cpp +++ b/src/koopatlas/camera.cpp @@ -26,8 +26,8 @@ dWorldCamera_c::dWorldCamera_c() { camPos = (Vec){0.0, 0.0, 1.0}; camUp = (Vec){0.0, 1.0, 0.0}; - projection2d.near = 1.0; - projection2d.far = 20000.0; + projection2d.near = -20000.0f; + projection2d.far = 20000.0f; currentX = 416; currentY = -224; diff --git a/src/koopatlas/pathmanager.cpp b/src/koopatlas/pathmanager.cpp index 2d4d836..1b20ebf 100644 --- a/src/koopatlas/pathmanager.cpp +++ b/src/koopatlas/pathmanager.cpp @@ -537,7 +537,7 @@ void dWMPathManager_c::activatePoint() { int w = currentNode->levelNumber[0] - 1; int l = currentNode->levelNumber[1] - 1; - if (l == 0) { + if (l == 2) { dWMShop_c::instance->LoadShopForWorld(w); dScKoopatlas_c::instance->state.setState(&dScKoopatlas_c::instance->StateID_ShopWait); return; -- cgit v1.2.3