#define RDBF_PUEBLO_CHECKSUM 0x04
/* Available: 0x08 - 0x8000 */
#define RDBF_SU_EXIT_PATH 0x00010000
+#define RDBF_OUTDESC 0x00020000
#endif /* __DB_H */
DESC *d;
SU_PATH *exit_path;
long flags = RDBF_SCREENSIZE | RDBF_TTYPE | RDBF_PUEBLO_CHECKSUM
- | RDBF_SU_EXIT_PATH;
+ | RDBF_SU_EXIT_PATH | RDBF_OUTDESC;
if (setjmp(db_err)) {
flag_broadcast(0, 0, T("GAME: Error writing reboot database!"));
exit(0);
*/
for (; d != NULL; d = d->prev) {
putref(f, d->descriptor);
+ putref(f, d->outdesc);
putref(f, d->connected_at);
putref(f, d->hide);
putref(f, d->cmds);
ndescriptors++;
d = (DESC *) mush_malloc(sizeof(DESC), "descriptor");
d->descriptor = val;
+ if (flags & RDBF_OUTDESC)
+ d->outdesc = getref(f);
d->input_handler = do_command;
d->connected_at = getref(f);
d->hide = getref(f);