fix other way to get "silly thing to wear"

It was possible for the code to end up in do_wear.c
to put out the "silly thing to wear" message.
This commit is contained in:
nethack.allison
2003-01-31 13:19:09 +00:00
parent 02d784f039
commit b7be80ab22
3 changed files with 6 additions and 6 deletions

View File

@@ -1296,7 +1296,7 @@ boolean noisy;
/* getobj can't do this after setting its allow_all flag; that
happens if you have armor for slots that are covered up or
extra armor for slots that are filled */
if (noisy) pline(silly_thing_to, "wear");
if (noisy) silly_thing("wear", otmp);
err++;
}
/* Unnecessary since now only weapons and special items like pick-axes get