projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95df96c
)
restricted customizing empty space to R'n'D engine in level editor
author
Holger Schemel
<info@artsoft.org>
Sat, 9 Mar 2024 10:28:59 +0000
(11:28 +0100)
committer
Holger Schemel
<info@artsoft.org>
Sat, 9 Mar 2024 10:28:59 +0000
(11:28 +0100)
src/editor.c
patch
|
blob
|
history
diff --git
a/src/editor.c
b/src/editor.c
index b45f7c1963bef59c338cc0cdafdcc5dc6d55e2cc..ca5e06b9b778d097517f190b87a78bc3d7c5f121 100644
(file)
--- 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) ||