projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ca78975
)
fixed bug with global animations in mode 'MAINONLY' not being restarted after mode...
author
Holger Schemel
<info@artsoft.org>
Mon, 4 Dec 2017 21:30:17 +0000
(22:30 +0100)
committer
Holger Schemel
<info@artsoft.org>
Mon, 4 Dec 2017 21:30:17 +0000
(22:30 +0100)
src/anim.c
patch
|
blob
|
history
diff --git
a/src/anim.c
b/src/anim.c
index 6f902d979e1b0a56e97b5f56009b3f1b70da7959..70600166488ce6cd34396635e7b5cedf467d9e45 100644
(file)
--- a/
src/anim.c
+++ b/
src/anim.c
@@
-600,6
+600,11
@@
void DrawGlobalAnimationsExt(int drawing_target, int drawing_stage)
if (drawing_target == DRAW_TO_FADE_TARGET)
after_fading = TRUE;
if (drawing_target == DRAW_TO_FADE_TARGET)
after_fading = TRUE;
+ // special case: changing from/to this screen is done without fading
+ if (global.anim_status == GAME_MODE_PSEUDO_TYPENAME ||
+ anim_status_last == GAME_MODE_PSEUDO_TYPENAME)
+ after_fading = TRUE;
+
// ---------- part 1 ------------------------------------------------------
// start or stop global animations by change of game mode
// (special handling of animations for "current screen" and "all screens")
// ---------- part 1 ------------------------------------------------------
// start or stop global animations by change of game mode
// (special handling of animations for "current screen" and "all screens")