From: Holger Schemel Date: Thu, 26 Jan 2017 09:13:15 +0000 (+0100) Subject: fixed bug with not updating element list after copy or exchange of CE X-Git-Tag: 4.0.0.2~24 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=319723c8a911e61d056780e40f0b3d321b011be6;p=rocksndiamonds.git fixed bug with not updating element list after copy or exchange of CE --- diff --git a/src/editor.c b/src/editor.c index 48e6feb0..6aa8b8d6 100644 --- a/src/editor.c +++ b/src/editor.c @@ -9309,11 +9309,9 @@ static void DrawPaletteWindow() static void UpdateCustomElementGraphicGadgets() { - struct ElementInfo *ei = &element_info[properties_element]; int i; - ei->gfx_element = (ei->use_gfx_element ? ei->gfx_element_initial : - properties_element); + InitElementPropertiesGfxElement(); ModifyEditorElementList(); RedrawDrawingElements();