X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Ftape.c;h=4ff0c9687de9577369e54cbb935b61605ed562d5;hb=6a0abfaaf87f8ae079c0baec627d0a89ae0336cc;hp=bb0f08f8112ec4e065aa8ff28f2b2a4dab3e7e59;hpb=6b7dd245f9c3d003c09b846c38ab7c0ad34da974;p=rocksndiamonds.git diff --git a/src/tape.c b/src/tape.c index bb0f08f8..4ff0c968 100644 --- a/src/tape.c +++ b/src/tape.c @@ -747,7 +747,9 @@ void TapeTogglePause(boolean toggle_manual) } } - if (CheckEngineSnapshotList()) + if (setup.show_snapshot_buttons && + game_status == GAME_MODE_PLAYING && + CheckEngineSnapshotList()) { if (tape.pausing) MapUndoRedoButtons(); @@ -1412,6 +1414,13 @@ static void HandleTapeButtonsExt(int id) break; case TAPE_CTRL_ID_PLAY: + if (tape.recording && tape.pausing) /* PAUSE -> RECORD */ + { + // ("TAPE_IS_EMPTY(tape)" is TRUE here -- probably fix this) + + TapeTogglePause(TAPE_TOGGLE_MANUAL); + } + if (TAPE_IS_EMPTY(tape)) break;