X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Ftape.c;h=71f707ced8a8ed3e1ade522fbb0940379c54f387;hb=d4d8a4410fbd9239df7ca3359184fc44d5e15e56;hp=eb825c8d98c49924fa69aa95e806bd63c20baa92;hpb=31df2f981ed2fa42009f173f1f908b802e427268;p=rocksndiamonds.git diff --git a/src/tape.c b/src/tape.c index eb825c8d..71f707ce 100644 --- a/src/tape.c +++ b/src/tape.c @@ -994,6 +994,9 @@ byte *TapePlayAction(void) TapeStopWarpForward(); TapeTogglePause(TAPE_TOGGLE_MANUAL); + if (setup.autorecord_after_replay) + TapeAppendRecording(); + return NULL; } } @@ -1004,6 +1007,9 @@ byte *TapePlayAction(void) { TapeStopWarpForward(); TapeTogglePause(TAPE_TOGGLE_MANUAL); + + if (setup.autorecord_after_replay) + TapeAppendRecording(); } else { @@ -1181,7 +1187,7 @@ void TapeQuickSave(void) { if (game_status == GAME_MODE_MAIN) { - Request("No game that can be saved!", REQ_CONFIRM); + Request("No game that could be saved!", REQ_CONFIRM); return; } @@ -1189,12 +1195,19 @@ void TapeQuickSave(void) if (game_status != GAME_MODE_PLAYING) return; + if (!tape.recording) + { + Request("No recording that could be saved!", REQ_CONFIRM); + + return; + } + if (tape.recording) TapeHaltRecording(); // prepare tape for saving on-the-fly if (TAPE_IS_EMPTY(tape)) { - Request("No tape that can be saved!", REQ_CONFIRM); + Request("No tape that could be saved!", REQ_CONFIRM); return; }