X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Ftape.c;h=51dcd8a2e0d85e4b47f12267cba9fef24ae118f2;hb=2f5368f25e34c02cb5ff7a012aa96198442231cb;hp=880c4f9ee8d3d879282c540e4587a8c84c4a1344;hpb=74c0f7de91268e40d15948f473eac51a9760b9c0;p=rocksndiamonds.git diff --git a/src/tape.c b/src/tape.c index 880c4f9e..51dcd8a2 100644 --- a/src/tape.c +++ b/src/tape.c @@ -687,6 +687,19 @@ void TapeQuickLoad() } } +void InsertSolutionTape() +{ + if (!TAPE_IS_EMPTY(tape)) + return; + + LoadSolutionTape(level_nr); + + if (TAPE_IS_EMPTY(tape)) + Request("No solution tape for this level !", REQ_CONFIRM); + + DrawCompleteVideoDisplay(); +} + /* ------------------------------------------------------------------------- * * tape autoplay functions @@ -768,7 +781,7 @@ void AutoPlayTape() continue; } - LoadTape(level_nr); + LoadSolutionTape(level_nr); if (TAPE_IS_EMPTY(tape)) { printf("(no tape)\n");