diff options
author | Treeki <treeki@gmail.com> | 2013-01-31 04:18:46 +0100 |
---|---|---|
committer | Treeki <treeki@gmail.com> | 2013-01-31 04:18:46 +0100 |
commit | 2f361e18c3f1b1c003a61603465df12d03789aad (patch) | |
tree | e8d52cd281752c0a630006937502a662578d63c9 /src/koopatlas/camera.cpp | |
parent | b9f9eeb73d6e3f4ebbd5d45c5997f73478425779 (diff) | |
download | kamek-2f361e18c3f1b1c003a61603465df12d03789aad.tar.gz kamek-2f361e18c3f1b1c003a61603465df12d03789aad.zip |
hacky camera for warp zone
Diffstat (limited to '')
-rw-r--r-- | src/koopatlas/camera.cpp | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/koopatlas/camera.cpp b/src/koopatlas/camera.cpp index fcdd048..856d38c 100644 --- a/src/koopatlas/camera.cpp +++ b/src/koopatlas/camera.cpp @@ -96,9 +96,14 @@ int dWorldCamera_c::onExecute() { if (change) { } } - daWMPlayer_c *player = daWMPlayer_c::instance; - currentX = player->pos.x; - currentY = player->pos.y; + if (dScKoopatlas_c::instance->warpZoneHacks) { + currentX = 2484.0f; + currentY = -2100.0f; + } else { + daWMPlayer_c *player = daWMPlayer_c::instance; + currentX = player->pos.x; + currentY = player->pos.y; + } calculateScreenGeometry(); doStuff(10000.0); |