projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
minor formatting change
[rocksndiamonds.git]
/
src
/
tape.c
diff --git
a/src/tape.c
b/src/tape.c
index d5d07236ea392c22910f4e17c0845f216b3c5819..f5d78c6a8cb14e5e2710780501538b73e35445af 100644
(file)
--- a/
src/tape.c
+++ b/
src/tape.c
@@
-1466,6
+1466,7
@@
static int AutoPlayTapesExt(boolean initialize)
};
LevelDirTree *leveldir_current_last = leveldir_current;
boolean init_level_set = FALSE;
};
LevelDirTree *leveldir_current_last = leveldir_current;
boolean init_level_set = FALSE;
+ int level_nr_last = level_nr;
int i;
if (!initialize)
int i;
if (!initialize)
@@
-1851,14
+1852,23
@@
static int AutoPlayTapesExt(boolean initialize)
return num_tapes;
}
return num_tapes;
}
+ if (global.autoplay_mode == AUTOPLAY_MODE_UPLOAD)
+ {
+ Print("\n");
+ PrintLine("=", 79);
+ Print("SUMMARY: %d tapes uploaded.\n", num_tapes);
+ PrintLine("=", 79);
+ }
+
// clear timestamp for batch tape upload (required after interactive upload)
global.autoplay_time = 0;
if (program.headless)
CloseAllAndExit(0);
// clear timestamp for batch tape upload (required after interactive upload)
global.autoplay_time = 0;
if (program.headless)
CloseAllAndExit(0);
- // when running interactively, restore last selected level set
+ // when running interactively, restore last selected level set
and number
leveldir_current = leveldir_current_last;
leveldir_current = leveldir_current_last;
+ level_nr = level_nr_last;
return num_tapes;
}
return num_tapes;
}