From b69c3444331f8d83177e21162fa5313c101e1afc Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Sat, 9 Mar 2024 11:28:59 +0100 Subject: [PATCH] restricted customizing empty space to R'n'D engine in level editor --- src/editor.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/editor.c b/src/editor.c index b45f7c19..ca5e06b9 100644 --- a/src/editor.c +++ b/src/editor.c @@ -10636,6 +10636,10 @@ static boolean checkPropertiesConfig(int element) { int i; + // special case: empty space customization only available in R'n'D game engine + if (element == EL_EMPTY_SPACE && level.game_engine_type != GAME_ENGINE_TYPE_RND) + return FALSE; + if (IS_GEM(element) || IS_CUSTOM_ELEMENT(element) || IS_GROUP_ELEMENT(element) || -- 2.34.1