From: Holger Schemel Date: Sat, 9 Mar 2024 10:33:08 +0000 (+0100) Subject: restricted slippery walls option to R'n'D engine in level editor X-Git-Tag: 4.4.0.0-test-1~223 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=cbdb54c84a2539567aef30d38d57473a87fcfd07;p=rocksndiamonds.git restricted slippery walls option to R'n'D engine in level editor --- diff --git a/src/editor.c b/src/editor.c index ca5e06b9..e1f639aa 100644 --- a/src/editor.c +++ b/src/editor.c @@ -10890,7 +10890,8 @@ static void DrawPropertiesConfig(void) if (IS_BD_PLAYER_ELEMENT(properties_element)) MapCheckbuttonGadget(ED_CHECKBUTTON_ID_BD_DIAGONAL_MOVEMENTS); - if (IS_GEM(properties_element)) + // special case: slippery walls option for gems only available in R'n'D game engine + if (IS_GEM(properties_element) && level.game_engine_type == GAME_ENGINE_TYPE_RND) { checkbutton_info[ED_CHECKBUTTON_ID_EM_SLIPPERY_GEMS].y = ED_ELEMENT_SETTINGS_XPOS(properties_element == EL_BD_DIAMOND ? 2 : 1);