diff options
author | Colin Noga <Tempus@chronometry.ca> | 2012-09-12 13:11:42 -0500 |
---|---|---|
committer | Colin Noga <Tempus@chronometry.ca> | 2012-09-12 13:11:42 -0500 |
commit | dba3ee84993ddb4adc909ba005eb88a2a201da82 (patch) | |
tree | 85c336dfb1c7e87248b9af879eb732629d8a03d0 /src/magicplatform.cpp | |
parent | 1294e7a96b7011c713be5515359b41338dafee04 (diff) | |
parent | 580de9e9de67983a7a7908e4395046f3ae6e5be3 (diff) | |
download | kamek-dba3ee84993ddb4adc909ba005eb88a2a201da82.tar.gz kamek-dba3ee84993ddb4adc909ba005eb88a2a201da82.zip |
Merge branch 'level-select' of ssh://treeki.rustedlogic.net:30000/Kamek into level-select
Diffstat (limited to 'src/magicplatform.cpp')
-rw-r--r-- | src/magicplatform.cpp | 5 |
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(); |