X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Feditor.c;h=5d38017e711084f4951f5270aaaa43ec995e6d6b;hp=b99d33b774407537563726f03fe56b876f2d2247;hb=6f3727bed29aedd35b68e50729c25a440dd14acc;hpb=617fc4a5748a1f2f48614b5dd30915852bf39fc2 diff --git a/src/editor.c b/src/editor.c index b99d33b7..5d38017e 100644 --- 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; + + // needed here to restore runtime value "element_info[element].gfx_element" + InitElementPropertiesGfxElement(); } static void CopyClassicElementPropertiesToGame(int element)