another buglist entry

> fog cloud hit uses "it". I was exploring the insides of a fog
> cloud with my fifth level wizard, and cast force bolt at its
> insides. I got the message "The spell hits it. You destroy the
> fog cloud!". Shouldn't "it" be "the fog cloud"? If so, it is
> debatable whether or not the then second "fog cloud" should
> perhaps be "it"... [<Someone>]
This commit is contained in:
nethack.allison
2003-08-03 19:58:49 +00:00
parent 1ac71854a3
commit cedc57b67f
2 changed files with 4 additions and 1 deletions

View File

@@ -117,6 +117,8 @@ add looting freehand() check to able_to_loot() to prevent opening container
Schroedinger's Cat could be placed at wrong location when its box is carried
travel while polymorphed into a grid bug should not move diagonally
refine cmdassist handling for grid bugs
when casting force bolt spell while engulfed go ahead and use the engulfers
name in the hit message rather than "it"
Platform- and/or Interface-Specific Fixes

View File

@@ -2558,7 +2558,8 @@ register const char *str;
register struct monst *mtmp;
register const char *force; /* usually either "." or "!" */
{
if((!cansee(bhitpos.x,bhitpos.y) && !canspotmon(mtmp))
if((!cansee(bhitpos.x,bhitpos.y) && !canspotmon(mtmp) &&
!(u.uswallow && mtmp == u.ustuck))
|| !flags.verbose)
pline("%s %s it.", The(str), vtense(str, "hit"));
else pline("%s %s %s%s", The(str), vtense(str, "hit"),