]> granicus.if.org Git - nethack/commit
fix #H8481 - placing monster at <0,0>
authorPatR <rankin@nethack.org>
Sat, 6 Apr 2019 19:57:29 +0000 (12:57 -0700)
committerPatR <rankin@nethack.org>
Sat, 6 Apr 2019 19:57:29 +0000 (12:57 -0700)
commitf52e9865f283378359191d5ea186206d60129921
tree1e4bcbdc409481da644f6e377470a8379fc891aa
parent0bfd12dd16ce2d57a48c7b117b30994c1b4d6f7c
fix #H8481 - placing monster at <0,0>

mon_arrive() -> m_into_limbo() -> migrate_to_level() -> wormgone()
followed by place_monster() "for relmon".  relmon() was changed (last
November, cc5bb44a9a757fe00800c90cb3a648b009af155d) to not require
the monster be on the map, so just get rid of the place_monster() that
was trying to put the "gone" long worm at <0,0>.

Also, another m_into_limbo() bit:  make mdrop_special_objs() check the
location and send any dropped items to random locations if the monster
dropping things isn't on the map, instead of placing them at <0,0>.
doc/fixes36.2
src/dog.c
src/mon.c
src/steal.c