summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/magicplatform.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/magicplatform.cpp b/src/magicplatform.cpp
index 4997945..e4f3dc0 100644
--- a/src/magicplatform.cpp
+++ b/src/magicplatform.cpp
@@ -141,6 +141,11 @@ int daEnMagicPlatform_c::onCreate() {
doesMoveInfinitely = (settings & 0x10000000);
+ if (settings & 0xE0000000) {
+ int putItBehind = settings >> 29;
+ pos.z = -3600.0f - (putItBehind * 16);
+ }
+
setupMovement();
findSourceArea();