From 7ac743d295c6e08f80f5649dd95112e3a94f0570 Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Mon, 4 Dec 2017 22:30:17 +0100 Subject: [PATCH] fixed bug with global animations in mode 'MAINONLY' not being restarted after mode 'TYPENAME' (introduced with commit 2722043) --- src/anim.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/anim.c b/src/anim.c index 6f902d97..70600166 100644 --- 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; + // 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") -- 2.34.1