projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ee589f
)
fixed doing global animation stuff when it is disabled in setup menu
author
Holger Schemel
<info@artsoft.org>
Mon, 23 May 2016 23:33:16 +0000
(
01:33
+0200)
committer
Holger Schemel
<info@artsoft.org>
Mon, 23 May 2016 23:33:16 +0000
(
01:33
+0200)
src/anim.c
patch
|
blob
|
history
diff --git
a/src/anim.c
b/src/anim.c
index c5e1676e8546c64cfd8b9d1eadf9460653459e95..7dc621986b5e5f9fdd7138a58296697946796f1b 100644
(file)
--- a/
src/anim.c
+++ b/
src/anim.c
@@
-521,6
+521,9
@@
void DrawGlobalAnimationsExt(int drawing_stage)
{
int mode_nr;
+ if (!setup.toons)
+ return;
+
if (global.anim_status != anim_status_last)
{
boolean before_fading = (global.anim_status == GAME_MODE_PSEUDO_FADING);
@@
-568,7
+571,7
@@
void DrawGlobalAnimationsExt(int drawing_stage)
anim_status_last = global.anim_status;
}
- if (
!setup.toons ||
global.anim_status == GAME_MODE_LOADING)
+ if (global.anim_status == GAME_MODE_LOADING)
return;
if (drawing_stage == DRAW_GLOBAL_ANIM_STAGE_1)