From 57ffe9814a0074c01843700af0498d35a84c80f0 Mon Sep 17 00:00:00 2001 From: Treeki Date: Thu, 3 May 2012 02:30:19 +0200 Subject: disabled checkZoneBoundaries for infinitely moving magic platforms --- src/magicplatform.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src') diff --git a/src/magicplatform.cpp b/src/magicplatform.cpp index 86a6b46..fe2eb9b 100644 --- a/src/magicplatform.cpp +++ b/src/magicplatform.cpp @@ -167,9 +167,6 @@ int daEnMagicPlatform_c::onExecute() { updateTilePositions(); physics.update(); - if (doesMoveInfinitely) - checkZoneBoundaries(0); - return 1; } @@ -353,7 +350,7 @@ void daEnMagicPlatform_c::deleteTiles() { void daEnMagicPlatform_c::updateTilePositions() { float baseX = pos.x; - + float y = -pos.y; int rendererID = 0; -- cgit v1.2.3