X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Ftape.c;h=36748a7e4766a485734b38593d6e09dac47c1cd2;hp=f05a3b45d18b4499f8123bb4b0fa6c353e5ff361;hb=73dfe4a920cabf20138c0ba49964a3c8c3f752d0;hpb=cf7767e694871f3f2348a76b87c3e441209f2565 diff --git a/src/tape.c b/src/tape.c index f05a3b45..36748a7e 100644 --- a/src/tape.c +++ b/src/tape.c @@ -420,8 +420,13 @@ void TapeRecordAction(byte action[MAX_PLAYERS]) { int i; +#if 1 + if (!tape.recording) /* record action even when tape is paused! */ + return; +#else if (!tape.recording || tape.pausing) return; +#endif if (tape.counter >= MAX_TAPELEN - 1) { @@ -636,8 +641,13 @@ static void TapeStopIndexSearch() SetDrawDeactivationMask(REDRAW_NONE); audio.sound_deactivated = FALSE; - RedrawPlayfield(TRUE, 0,0,0,0); - DrawGameDoorValues(); +#if 1 + if (game_status == GAME_MODE_PLAYING) +#endif + { + RedrawPlayfield(TRUE, 0,0,0,0); + DrawGameDoorValues(); + } } static void TapeSingleStep()