> 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>]
avoid some uses of "it" in killer messages
avoid "singular of null?" warning for info lookup of obscure user input
there was no check for iron bars in dokick() so it defaulted to "empty space"
+if you couldn't see the rat created in a sink for some reason other than
+ blindness, you would get "Eek there's it in the sink."
Platform- and/or Interface-Specific Fixes
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;