X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Ftape.c;h=d77703295f3fcb5ee69619d658bd713de42e36b5;hp=a22fc9a54741013239ad7c63bf3a487c14237440;hb=5a4a6f4051fc89de7e47cf41d4d3e78dab4283d6;hpb=71f0d72b145b4d56e1282c8fa9c5030521f49d82 diff --git a/src/tape.c b/src/tape.c index a22fc9a5..d7770329 100644 --- a/src/tape.c +++ b/src/tape.c @@ -1589,6 +1589,9 @@ static int AutoPlayTapesExt(boolean initialize) Fail("cannot load tape file '%s'", autoplay.tape_filename); } + if (tape.no_info_chunk) + Fail("cannot get levelset from tape file '%s'", autoplay.tape_filename); + global.autoplay_leveldir = tape.level_identifier; if (tape.level_nr >= 0 && tape.level_nr < MAX_TAPES_PER_SET)