Wizard-mode fruit information should not be conditional on the gods not

being angry.
This commit is contained in:
arromdee
2011-12-12 02:13:21 +00:00
parent a0c6e6ef3f
commit 42caf48a1d

View File

@@ -2053,20 +2053,20 @@ int final;
if (wizard) Sprintf(eos(buf), " (%d)", u.ublesscnt); if (wizard) Sprintf(eos(buf), " (%d)", u.ublesscnt);
#endif #endif
you_can(buf,""); you_can(buf,"");
if (wizard) { }
int fcount = 0; if (wizard) {
struct fruit *f; int fcount = 0;
char buf2[BUFSZ]; struct fruit *f;
for(f=ffruit; f; f = f->nextf) char buf2[BUFSZ];
{ for(f=ffruit; f; f = f->nextf)
Sprintf(buf, "Fruit %d ", ++fcount); {
Sprintf(buf2, "%s (id %d)", f->fname, f->fid); Sprintf(buf, "Fruit %d ", ++fcount);
enl_msg(buf, "is ", "was ", buf2, ""); 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, "");
} }
enl_msg("The current fruit ", "is ", "was ", pl_fruit, "");
Sprintf(buf, "%d", flags.made_fruit);
enl_msg("The made fruit flag ", "is ", "was ", buf, "");
} }
{ {