cmdassist follow-up bit

This commit is contained in:
nethack.allison
2002-08-04 23:34:10 +00:00
parent 2d21a12ad5
commit 8386f680a6

View File

@@ -1944,9 +1944,9 @@ char *msg;
if ((expl = dowhatdoes_core(ctrl, buf2)) if ((expl = dowhatdoes_core(ctrl, buf2))
&& (!index(wiz_only_list, sym) && (!index(wiz_only_list, sym)
#ifdef WIZARD #ifdef WIZARD
|| wizard) || wizard
#endif #endif
) { )) {
Sprintf(buf, "Are you trying to use ^%c%s?", sym, Sprintf(buf, "Are you trying to use ^%c%s?", sym,
index(wiz_only_list, sym) ? "" : index(wiz_only_list, sym) ? "" :
" as specified in the Guidebook"); " as specified in the Guidebook");