Initialize locations before checking wizard mode.
This commit is contained in:
parent
3bb49b3e9c
commit
d7d27f447d
|
@ -50,7 +50,6 @@ initialize(startup)
|
|||
puts("Admiral D.W. Riggle\n");
|
||||
srand(getpid());
|
||||
getutmp(uname);
|
||||
wiz = wizard(uname);
|
||||
wordinit();
|
||||
if (startup) {
|
||||
location = dayfile;
|
||||
|
@ -65,6 +64,7 @@ initialize(startup)
|
|||
setbit(location[p->room].objects, p->obj);
|
||||
} else
|
||||
restore();
|
||||
wiz = wizard(uname);
|
||||
signal(SIGINT, die);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue