X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame.c;h=f6e226bc7fcde6e693b7dc065d7596489b456564;hb=3d236f777bca55fef0f6b23122b6affd0f424249;hp=640c248624ddd158dd29f6d33d2a9f3b06e677e0;hpb=1cacebfb41c20889c904155001a5b88ace962348;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++;