diff options
| author | Treeki <treeki@gmail.com> | 2012-09-10 22:42:39 +0200 | 
|---|---|---|
| committer | Treeki <treeki@gmail.com> | 2012-09-10 22:42:39 +0200 | 
| commit | 580de9e9de67983a7a7908e4395046f3ae6e5be3 (patch) | |
| tree | 9999d36c2cddd5df4c362678a9cd5f3667739ba5 /src | |
| parent | 3b616a5f8b7d49c59c45f09b59c1129b43002f3d (diff) | |
| download | kamek-580de9e9de67983a7a7908e4395046f3ae6e5be3.tar.gz kamek-580de9e9de67983a7a7908e4395046f3ae6e5be3.zip | |
behind Layer2 z-order for magic platforms
Diffstat (limited to '')
| -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(); | 
