summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/koopatlas/camera.cpp4
-rw-r--r--src/koopatlas/pathmanager.cpp2
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;