Refresh worm segments when (un)taming

Because newsym() would be called only on the head position of the worm,
if hilite_pet was on, the segments and head of a long worm would have
mismatched highlighting in the immediate aftermath of taming or
untaming.
This commit is contained in:
Michael Meyer
2024-11-12 17:34:23 -05:00
parent c623ddf2e2
commit 92d931f190
3 changed files with 19 additions and 1 deletions

View File

@@ -3766,6 +3766,7 @@ extern boolean worm_cross(int, int, int, int);
extern int wseg_at(struct monst *, int, int) NO_NNARGS;
extern void flip_worm_segs_vertical(struct monst *, int, int) NONNULLARG1;
extern void flip_worm_segs_horizontal(struct monst *, int, int) NONNULLARG1;
extern void redraw_worm(struct monst *);
/* ### worn.c ### */