diff options
author | Treeki <treeki@gmail.com> | 2013-02-25 21:53:26 +0100 |
---|---|---|
committer | Treeki <treeki@gmail.com> | 2013-02-25 21:53:26 +0100 |
commit | 982adbdfc51697a5872684d6bdc3942c7b324652 (patch) | |
tree | 618764f25032c05e08fb633083f87b8e9ac71d7a /src | |
parent | ffd75026b253f50b4bf349442a05129a9e71dedb (diff) | |
download | kamek-982adbdfc51697a5872684d6bdc3942c7b324652.tar.gz kamek-982adbdfc51697a5872684d6bdc3942c7b324652.zip |
add an extra Z order setting to magic platforms
Diffstat (limited to '')
-rw-r--r-- | src/magicplatform.cpp | 2 |
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(); |