summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2013-02-25 21:53:26 +0100
committerTreeki <treeki@gmail.com>2013-02-25 21:53:26 +0100
commit982adbdfc51697a5872684d6bdc3942c7b324652 (patch)
tree618764f25032c05e08fb633083f87b8e9ac71d7a /src
parentffd75026b253f50b4bf349442a05129a9e71dedb (diff)
downloadkamek-982adbdfc51697a5872684d6bdc3942c7b324652.tar.gz
kamek-982adbdfc51697a5872684d6bdc3942c7b324652.zip
add an extra Z order setting to magic platforms
Diffstat (limited to '')
-rw-r--r--src/magicplatform.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/magicplatform.cpp b/src/magicplatform.cpp
index 420aefa..3b2475b 100644
--- a/src/magicplatform.cpp
+++ b/src/magicplatform.cpp
@@ -145,6 +145,8 @@ int daEnMagicPlatform_c::onCreate() {
int putItBehind = settings >> 29;
pos.z = -3600.0f - (putItBehind * 16);
}
+ if (settings & 0x4000000)
+ pos.z = 500.0f;
setupMovement();