summaryrefslogtreecommitdiff
path: root/src/magicplatform.cpp
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2012-05-03 02:30:19 +0200
committerTreeki <treeki@gmail.com>2012-05-03 02:30:19 +0200
commit57ffe9814a0074c01843700af0498d35a84c80f0 (patch)
tree9b9b8f2811100f98f21621bc5097cd99b7ab11fd /src/magicplatform.cpp
parentc56f83a1dfa771584f5164848a346dce2557c3bb (diff)
downloadkamek-57ffe9814a0074c01843700af0498d35a84c80f0.tar.gz
kamek-57ffe9814a0074c01843700af0498d35a84c80f0.zip
disabled checkZoneBoundaries for infinitely moving magic platforms
Diffstat (limited to '')
-rw-r--r--src/magicplatform.cpp5
1 files changed, 1 insertions, 4 deletions
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;