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