From 2f361e18c3f1b1c003a61603465df12d03789aad Mon Sep 17 00:00:00 2001 From: Treeki Date: Thu, 31 Jan 2013 04:18:46 +0100 Subject: hacky camera for warp zone --- src/koopatlas/camera.cpp | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'src') 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); -- cgit v1.2.3