X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Feditor.c;h=34bcb2f9149665a85903828632a7414fb5f65712;hb=a17bb502b568bb4ab585b9aff45b571ac724d52e;hp=f21d086ea693aa6a9225d11f7c9eb4c787d2a0ae;hpb=717df2e9dabf5f4d3c01d6f9b4c8e879fdffb1fe;p=rocksndiamonds.git diff --git a/src/editor.c b/src/editor.c index f21d086e..34bcb2f9 100644 --- a/src/editor.c +++ b/src/editor.c @@ -13078,9 +13078,18 @@ static void DrawEditorElementAnimation(int x, int y) int graphic; int frame; - getEditorGraphicAndFrame(properties_element, &graphic, &frame, FALSE); + if (IS_BD_RUNTIME_ELEMENT(properties_element)) + { + getEditorGraphicAndFrame(properties_element, &graphic, &frame, TRUE); + + DrawFixedGraphicExt(drawto, x, y, graphic, frame); + } + else + { + getEditorGraphicAndFrame(properties_element, &graphic, &frame, FALSE); - DrawFixedGraphicAnimationExt(drawto, x, y, graphic, frame, NO_MASKING); + DrawFixedGraphicAnimationExt(drawto, x, y, graphic, frame, NO_MASKING); + } } static void DrawEditorElementName(int x, int y, int font_nr)