]> granicus.if.org Git - nethack/commit
displacing pet long worm
authorPatR <rankin@nethack.org>
Sat, 15 Dec 2018 02:17:42 +0000 (18:17 -0800)
committerPatR <rankin@nethack.org>
Sat, 15 Dec 2018 02:17:42 +0000 (18:17 -0800)
commitaa5a85f4da4cc5dfb012085e55ffcc4bddeb7c4f
tree96c4c2b3d836fdef2d1b2dc7f4f9d8bc28f20744
parent1be3ad0ddcda5d4643603f7d4cceb8a6d5ef54bf
displacing pet long worm

Salvage part of an old patch.  Swapping places with any long worm,
even a baby one, always failed with "You stop.  Foo is in the way!"
This lets you swap places with tame baby long worms, and adult ones
if they have no tail (which won't happen unless there are more than
32 long worms on the current level--even if a long worm appears to
be only a head, there is normally a hidden tail segment at the same
location).
src/uhitm.c