]> granicus.if.org Git - nethack/commit
fix github issue #170 - stacks of non-missiles
authorPatR <rankin@nethack.org>
Fri, 28 Dec 2018 02:36:26 +0000 (18:36 -0800)
committerPatR <rankin@nethack.org>
Fri, 28 Dec 2018 02:36:26 +0000 (18:36 -0800)
commitc056ca1b359097fc27c8bf3def07065993e4bdfa
treeeffeff19d6e5dfcfaa6ee36e69a23f0eec41d079
parent96eaca731af2b2a0438a8826af61f2c4838ad700
fix github issue #170 - stacks of non-missiles

Fixes #170

Monsters never throw athames or scalpels but some fake player monsters
on the Astral Plane are given those.  Since they're stackable the
quantity usually gets boosted but there's no point in having more than
one if they won't be thrown.

This could have been fixed by letting monsters throw those two items,
but I prevented the quantity from being boosted instead.
doc/fixes36.2
include/extern.h
src/mplayer.c
src/weapon.c