X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fgame.c;h=f6e226bc7fcde6e693b7dc065d7596489b456564;hb=b454c38f3381978b6813eb06c736adaa38c55b89;hp=640c248624ddd158dd29f6d33d2a9f3b06e677e0;hpb=35a6bb2e02a14cb70796f2a165736f515669208c;p=rocksndiamonds.git diff --git a/src/game.c b/src/game.c index 640c2486..f6e226bc 100644 --- a/src/game.c +++ b/src/game.c @@ -2913,6 +2913,13 @@ void GameActions(byte player_action) } } + + if (tape.pausing || (tape.playing && !TapePlayDelay())) + return; + else if (tape.recording) + TapeRecordDelay(); + + if (tape.playing) recorded_player_action = TapePlayAction(); else @@ -2959,10 +2966,12 @@ void GameActions(byte player_action) ScrollScreen(NULL, SCROLL_GO_ON); + /* if (tape.pausing || (tape.playing && !TapePlayDelay())) return; else if (tape.recording) TapeRecordDelay(); + */ FrameCounter++; TimeFrames++;