]> granicus.if.org Git - nethack/commit
mon's glorkum pass harmlessly through the shade
authorPatR <rankin@nethack.org>
Sat, 7 Mar 2020 18:47:51 +0000 (10:47 -0800)
committerPatR <rankin@nethack.org>
Sat, 7 Mar 2020 18:47:51 +0000 (10:47 -0800)
commit44b6612fdc582d22a349e3f2f3c664dd31a674e6
treebcfbb3c69dc2db3c3c962760027a68f6f85f5d0b
parentb069b2224aa475c479032622f25add683cf56f1e
mon's glorkum pass harmlessly through the shade

I couldn't reproduce the problem; it appears to depend upon whether
the file-scope variable 'otmp' has a stale value, and that might
happen after a monster has tried to steal mon's saddle.  However,
the code pointed out in the report is clearly wrong.  This prevents
feedback of "glorkum" (with plural verb since quantity of 0 isn't 1),
but the potential stale value hasn't been dealt with.
doc/fixes36.6
src/mhitm.c