From cbdb54c84a2539567aef30d38d57473a87fcfd07 Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Sat, 9 Mar 2024 11:33:08 +0100 Subject: [PATCH] restricted slippery walls option to R'n'D engine in level editor --- src/editor.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); -- 2.34.1