From: Holger Schemel Date: Wed, 10 May 2017 19:46:47 +0000 (+0200) Subject: fixed bug with broken tape display when pausing in ffwd/warp/etc. modes X-Git-Tag: 4.0.1.0~43 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=0d02210d139e2e889d91d80015d54c5186dc347b;p=rocksndiamonds.git fixed bug with broken tape display when pausing in ffwd/warp/etc. modes --- diff --git a/src/tape.c b/src/tape.c index f0a8f02d..a8ac4cea 100644 --- a/src/tape.c +++ b/src/tape.c @@ -376,15 +376,18 @@ void DrawVideoDisplayCurrentState() { state |= VIDEO_STATE_PLAY_ON; - if (tape.deactivate_display) - state |= VIDEO_STATE_WARP2_ON; - else if (tape.warp_forward) - state |= VIDEO_STATE_WARP_ON; - else if (tape.fast_forward) - state |= VIDEO_STATE_FFWD_ON; - - if (tape.pause_before_end) - state |= VIDEO_STATE_PBEND_ON; + if (!tape.pausing) + { + if (tape.deactivate_display) + state |= VIDEO_STATE_WARP2_ON; + else if (tape.warp_forward) + state |= VIDEO_STATE_WARP_ON; + else if (tape.fast_forward) + state |= VIDEO_STATE_FFWD_ON; + + if (tape.pause_before_end) + state |= VIDEO_STATE_PBEND_ON; + } } // draw labels and symbols separately to prevent labels overlapping symbols