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

@@ -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"),