From 982adbdfc51697a5872684d6bdc3942c7b324652 Mon Sep 17 00:00:00 2001 From: Treeki Date: Mon, 25 Feb 2013 21:53:26 +0100 Subject: add an extra Z order setting to magic platforms --- src/magicplatform.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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(); -- cgit v1.2.3