long worm #stats

When #stats shows memory use for monsters, include long worm tails.
This commit is contained in:
PatR
2016-05-01 00:34:36 -07:00
parent 16c08f7296
commit 759544dd33
4 changed files with 29 additions and 11 deletions

View File

@@ -1580,7 +1580,10 @@ struct monst **monst_list; /* &migrating_mons or &mydogs or null */
seemimic(mon);
}
remove_monster(mx, my);
if (mon->wormno)
remove_worm(mon);
else
remove_monster(mx, my);
if (mon == fmon) {
fmon = fmon->nmon;