From 00f1c42e2779f15ae0e68dc820292141bb2cea2f Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Fri, 19 Nov 2021 10:34:23 +0100 Subject: [PATCH] fixed updating tiled graphics only when needed --- src/tools.c | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.34.1