From: Holger Schemel Date: Sat, 9 Mar 2024 10:28:59 +0000 (+0100) Subject: restricted customizing empty space to R'n'D engine in level editor X-Git-Tag: 4.4.0.0-test-1~224 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=b69c3444331f8d83177e21162fa5313c101e1afc;p=rocksndiamonds.git restricted customizing empty space to R'n'D engine in level editor --- 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) ||