added saving tape without INFO chunk to temporary file before uploading
authorHolger Schemel <info@artsoft.org>
Tue, 14 Sep 2021 22:25:31 +0000 (00:25 +0200)
committerHolger Schemel <info@artsoft.org>
Tue, 14 Sep 2021 22:25:31 +0000 (00:25 +0200)
src/tape.c

index 69356b0bfcf5b0e1a45eda034a16818197ef9a55..fc8f922b578cdda8001ce4acd65507a4aeeca8d6 100644 (file)
@@ -1792,7 +1792,8 @@ static int AutoPlayTapesExt(boolean initialize)
                                  getDefaultSolutionTapeFilename(level_nr));
 
        boolean correct_info_chunk =
-         (strEqual(leveldir_current->identifier, tape.level_identifier) &&
+         (!tape.no_info_chunk &&
+          strEqual(leveldir_current->identifier, tape.level_identifier) &&
           level_nr == tape.level_nr);
 
        if (!correct_info_chunk)