X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Ftape.c;h=1d8a3ed02381a2f8b9383aacabe932d62e844237;hp=2cc1571b810ab495f12cca3fd7c3de11e6386cb0;hb=80aa0e4b2b060112407417a9d2896395023a21cc;hpb=ae1359da280d87576ff65d7cb5c407cd35983472 diff --git a/src/tape.c b/src/tape.c index 2cc1571b..1d8a3ed0 100644 --- a/src/tape.c +++ b/src/tape.c @@ -1188,7 +1188,9 @@ void AutoPlayTape() static int num_levels_solved = 0; static int num_tape_missing = 0; static boolean level_failed[MAX_TAPES_PER_SET]; +#if 0 static boolean tape_missing[MAX_TAPES_PER_SET]; +#endif int i; if (autoplay_initialized) @@ -1237,7 +1239,9 @@ void AutoPlayTape() for (i = 0; i < MAX_TAPES_PER_SET; i++) { level_failed[i] = FALSE; +#if 0 tape_missing[i] = FALSE; +#endif } autoplay_initialized = TRUE; @@ -1272,8 +1276,10 @@ void AutoPlayTape() if (tape.no_valid_file) { num_tape_missing++; +#if 0 if (level_nr >= 0 && level_nr < MAX_TAPES_PER_SET) tape_missing[level_nr] = TRUE; +#endif printf("(no tape)\n"); continue;