worm display bug

This fixes a long worm display bug.  The bug wasn't really in the worm code, it
was in goodpos().  goodpos() could place worm segments on top of one another.
If you split a worm when the tail was located on top of the head, the tail
would be removed from the screen, making the head seem to vanish.
This commit is contained in:
arromdee
2002-05-03 03:47:39 +00:00
parent 050bc318ba
commit 407696c305
2 changed files with 13 additions and 1 deletions

View File

@@ -95,6 +95,8 @@ corpses in bones files don't retain their role characteristic
boulder was not displayed if blind and discovered with a monster known via
ESP behind it
don't claim that statue comes to life if the monster it turns into is invisible
fix goodpos() so worm segments don't get placed on top of each other (causing
a possible display problem if the worm is cut in two)
Platform- and/or Interface-Specific Fixes