projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rnd-20130916-1-src
[rocksndiamonds.git]
/
src
/
tape.c
diff --git
a/src/tape.c
b/src/tape.c
index 2cc1571b810ab495f12cca3fd7c3de11e6386cb0..1d8a3ed02381a2f8b9383aacabe932d62e844237 100644
(file)
--- 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];
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];
static boolean tape_missing[MAX_TAPES_PER_SET];
+#endif
int i;
if (autoplay_initialized)
int i;
if (autoplay_initialized)
@@
-1237,7
+1239,9
@@
void AutoPlayTape()
for (i = 0; i < MAX_TAPES_PER_SET; i++)
{
level_failed[i] = FALSE;
for (i = 0; i < MAX_TAPES_PER_SET; i++)
{
level_failed[i] = FALSE;
+#if 0
tape_missing[i] = FALSE;
tape_missing[i] = FALSE;
+#endif
}
autoplay_initialized = TRUE;
}
autoplay_initialized = TRUE;
@@
-1272,8
+1276,10
@@
void AutoPlayTape()
if (tape.no_valid_file)
{
num_tape_missing++;
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;
if (level_nr >= 0 && level_nr < MAX_TAPES_PER_SET)
tape_missing[level_nr] = TRUE;
+#endif
printf("(no tape)\n");
continue;
printf("(no tape)\n");
continue;