message fix for sewer rat from sink

> Getting a sewer rat from a sink when not blind, but can't see it
> (because of boulders, etc.) gives "Eek! There's it in the sink!"
> [<email deleted>]
This commit is contained in:
nethack.allison
2003-08-17 14:35:04 +00:00
parent c654b2fc02
commit 95e4443c11
2 changed files with 5 additions and 2 deletions

View File

@@ -530,8 +530,9 @@ drinksink()
else {
mtmp = makemon(&mons[PM_SEWER_RAT],
u.ux, u.uy, NO_MM_FLAGS);
pline("Eek! There's %s in the sink!",
Blind ? "something squirmy" :
if (mtmp) pline("Eek! There's %s in the sink!",
(Blind || !canspotmon(mtmp)) ?
"something squirmy" :
a_monnam(mtmp));
}
break;