projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f7e42c
)
removed duplicate code
author
Holger Schemel
<info@artsoft.org>
Thu, 17 Dec 2020 12:26:06 +0000
(13:26 +0100)
committer
Holger Schemel
<info@artsoft.org>
Thu, 17 Dec 2020 12:26:06 +0000
(13:26 +0100)
src/game.c
patch
|
blob
|
history
diff --git
a/src/game.c
b/src/game.c
index dafe7cbfc56f3c67706a06989e63ba845da56c94..ecd5f2649d337721f118c9009c18b731d6fbae0a 100644
(file)
--- a/
src/game.c
+++ b/
src/game.c
@@
-2536,8
+2536,7
@@
static void UpdateGameControlValues(void)
if (ANIM_MODE(graphic) == ANIM_CE_SCORE)
gpc->gfx_frame = element_info[element].collect_score;
- gpc->frame = getGraphicAnimationFrame(el2panelimg(gpc->value),
- gpc->gfx_frame);
+ gpc->frame = getGraphicAnimationFrame(graphic, gpc->gfx_frame);
if (ANIM_MODE(graphic) == ANIM_RANDOM)
gfx.anim_random_frame = last_anim_random_frame;