From 20b47b5bbd183b17d439e7ad75d5a156feb5c846 Mon Sep 17 00:00:00 2001 From: Pasi Kallinen Date: Mon, 19 Nov 2018 22:04:32 +0200 Subject: [PATCH] Replace long worm on map after removing tail with wormgone Calling wormgone will also remove the long worm monster from the map, not just the worm tail. Put the monster back on map so relmon can actually remove it properly. --- src/dog.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/dog.c b/src/dog.c index 71a4ea289..85e618236 100644 --- a/src/dog.c +++ b/src/dog.c @@ -651,6 +651,7 @@ boolean pets_only; /* true for ascension or final escape */ cnt = count_wsegs(mtmp); num_segs = min(cnt, MAX_NUM_WORMS - 1); wormgone(mtmp); + place_monster(mtmp, mtmp->mx, mtmp->my); } else num_segs = 0; @@ -701,6 +702,7 @@ coord *cc; /* optional destination coordinates */ cnt = count_wsegs(mtmp); num_segs = min(cnt, MAX_NUM_WORMS - 1); wormgone(mtmp); + place_monster(mtmp, mtmp->mx, mtmp->my); } /* set minvent's obj->no_charge to 0 */ -- 2.40.0