X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Feditor.c;h=b99d33b774407537563726f03fe56b876f2d2247;hb=a0f56f02e122388db4b71520f522ee4e4f002c4a;hp=c8444b1158c22f1acf52c5c0e94814e46f956be2;hpb=a59ebe8eb3a68db0a2ffcb8ce5127c767737d5ad;p=rocksndiamonds.git diff --git a/src/editor.c b/src/editor.c index c8444b11..b99d33b7 100644 --- a/src/editor.c +++ b/src/editor.c @@ -8325,6 +8325,9 @@ static void CopyCustomElementPropertiesToGame(int element) // copy change events also to special level editor variable custom_element = element_info[element]; custom_element_change = *element_info[element].change; + + // needed here to restore runtime value "element_info[element].gfx_element" + InitElementPropertiesGfxElement(); } static void CopyGroupElementPropertiesToGame(int element)