projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed bug in editor with GEs using graphic of other element
[rocksndiamonds.git]
/
src
/
editor.c
diff --git
a/src/editor.c
b/src/editor.c
index b99d33b774407537563726f03fe56b876f2d2247..5d38017e711084f4951f5270aaaa43ec995e6d6b 100644
(file)
--- a/
src/editor.c
+++ b/
src/editor.c
@@
-8341,6
+8341,9
@@
static void CopyGroupElementPropertiesToGame(int element)
element_info[element] = custom_element;
*element_info[element].group = group_element_info;
element_info[element] = custom_element;
*element_info[element].group = group_element_info;
+
+ // needed here to restore runtime value "element_info[element].gfx_element"
+ InitElementPropertiesGfxElement();
}
static void CopyClassicElementPropertiesToGame(int element)
}
static void CopyClassicElementPropertiesToGame(int element)