X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Ftape.c;h=ef7e8a5ab942f1c457c41a9b3328c57b818efaa4;hb=e11fa67d03ba1bfb469767ccdcc5ceae10f405f2;hp=cf65474af537c6af772c7ab44f81eaac952222fb;hpb=e915e2619a7d1e5cadb5d2be4100b304ac3ebd90;p=rocksndiamonds.git diff --git a/src/tape.c b/src/tape.c index cf65474a..ef7e8a5a 100644 --- a/src/tape.c +++ b/src/tape.c @@ -1694,6 +1694,19 @@ static int AutoPlayTapesExt(boolean initialize) if (!global.autoplay_all && !global.autoplay_level[level_nr]) continue; + if (global.autoplay_mode == AUTOPLAY_MODE_UPLOAD) + { + // speed things up when uploading all existing private tapes + if (autoplay.all_levelsets && !fileExists(getTapeFilename(level_nr))) + { + autoplay.num_tape_missing++; + + Print("Tape %03d: (no tape found)\n", level_nr); + + continue; + } + } + TapeErase(); TapeRewind(); // needed to reset "tape.auto_play_level_solved"