diff --git a/sys/unix/unixmain.c b/sys/unix/unixmain.c index 7e3342a44..9a6cbb418 100644 --- a/sys/unix/unixmain.c +++ b/sys/unix/unixmain.c @@ -575,6 +575,7 @@ authorize_wizard_mode() #endif if (pw && !strcmp(pw->pw_name, WIZARD_NAME)) return TRUE; #endif /* WIZARD */ + wiz_error_flag = TRUE; /* not being allowed into wizard mode */ return FALSE; } diff --git a/sys/vms/vmsmain.c b/sys/vms/vmsmain.c index 6cc7b2b3b..1b15175a1 100644 --- a/sys/vms/vmsmain.c +++ b/sys/vms/vmsmain.c @@ -1,5 +1,4 @@ /* NetHack 3.5 vmsmain.c $Date$ $Revision$ */ -/* SCCS Id: @(#)vmsmain.c 3.5 2008/01/30 */ /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */ /* NetHack may be freely redistributed. See license for details. */ /* main.c - VMS NetHack */ @@ -454,6 +453,7 @@ authorize_wizard_mode() #ifdef WIZARD if (!strcmpi(nh_getenv("USER"), WIZARD_NAME)) return TRUE; #endif + wiz_error_flag = TRUE; /* not being allowed into wizard mode */ return FALSE; }