From: arromdee Date: Mon, 12 Dec 2011 02:13:21 +0000 (+0000) Subject: Wizard-mode fruit information should not be conditional on the gods not X-Git-Tag: MOVE2GIT~137 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=42caf48a1d01cbc8d6d8301ae8d6131c185a2c3e;p=nethack Wizard-mode fruit information should not be conditional on the gods not being angry. --- diff --git a/src/cmd.c b/src/cmd.c index 312cd7ac3..e54a46fb1 100644 --- a/src/cmd.c +++ b/src/cmd.c @@ -2053,20 +2053,20 @@ int final; if (wizard) Sprintf(eos(buf), " (%d)", u.ublesscnt); #endif you_can(buf,""); - if (wizard) { - int fcount = 0; - struct fruit *f; - char buf2[BUFSZ]; - for(f=ffruit; f; f = f->nextf) - { - Sprintf(buf, "Fruit %d ", ++fcount); - Sprintf(buf2, "%s (id %d)", f->fname, f->fid); - enl_msg(buf, "is ", "was ", buf2, ""); - } - enl_msg("The current fruit ", "is ", "was ", pl_fruit, ""); - Sprintf(buf, "%d", flags.made_fruit); - enl_msg("The made fruit flag ", "is ", "was ", buf, ""); + } + if (wizard) { + int fcount = 0; + struct fruit *f; + char buf2[BUFSZ]; + for(f=ffruit; f; f = f->nextf) + { + Sprintf(buf, "Fruit %d ", ++fcount); + Sprintf(buf2, "%s (id %d)", f->fname, f->fid); + enl_msg(buf, "is ", "was ", buf2, ""); } + enl_msg("The current fruit ", "is ", "was ", pl_fruit, ""); + Sprintf(buf, "%d", flags.made_fruit); + enl_msg("The made fruit flag ", "is ", "was ", buf, ""); } {