projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bdab944
)
fixed updating tiled graphics only when needed
author
Holger Schemel
<info@artsoft.org>
Fri, 19 Nov 2021 09:34:23 +0000
(10:34 +0100)
committer
Holger Schemel
<info@artsoft.org>
Sat, 22 Jan 2022 16:58:27 +0000
(17:58 +0100)
src/tools.c
patch
|
blob
|
history
diff --git
a/src/tools.c
b/src/tools.c
index 08f2cc1e56d4ceb22df90824ce61fcd9433b2423..0271abfc43d83eb615b99fe8663df7cd83e0a5d5 100644
(file)
--- 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