diff options
author | Treeki <treeki@gmail.com> | 2012-07-27 16:28:28 +0200 |
---|---|---|
committer | Treeki <treeki@gmail.com> | 2012-07-27 16:28:28 +0200 |
commit | 908363a9f3546fc785e3e099ad8a31e618de703e (patch) | |
tree | 862533cdab3e5e010eab4cb105a6660efeb3358d /src/koopatlas | |
parent | 24eda6f87c4ce6f30fb9ef5cdaec8e1093513df3 (diff) | |
download | kamek-908363a9f3546fc785e3e099ad8a31e618de703e.tar.gz kamek-908363a9f3546fc785e3e099ad8a31e618de703e.zip |
this fix might work, it might not, I don't know, I can't compile it
Diffstat (limited to '')
-rw-r--r-- | src/koopatlas/camera.cpp | 4 | ||||
-rw-r--r-- | 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; |