From: Holger Schemel Date: Fri, 19 Nov 2021 09:34:23 +0000 (+0100) Subject: fixed updating tiled graphics only when needed X-Git-Tag: 4.3.1.0~25 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=00f1c42e2779f15ae0e68dc820292141bb2cea2f;p=rocksndiamonds.git fixed updating tiled graphics only when needed --- diff --git a/src/tools.c b/src/tools.c index 08f2cc1e..0271abfc 100644 --- a/src/tools.c +++ b/src/tools.c @@ -3951,6 +3951,9 @@ void DrawLevelGraphicAnimationIfNeeded(int x, int y, int graphic) if (!IS_NEW_FRAME(GfxFrame[x][y], graphic)) return; + if (ANIM_MODE(graphic) & ANIM_TILED) + return; + DrawGraphicAnimation(sx, sy, graphic); #if 1