Merge branch 'newsym_worm' of https://github.com/entrez/NetHack into NetHack-3.7
This commit is contained in:
11
src/worm.c
11
src/worm.c
@@ -988,4 +988,15 @@ flip_worm_segs_horizontal(struct monst *worm, int minx, int maxx)
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
redraw_worm(struct monst *worm)
|
||||
{
|
||||
struct wseg *curr = wtails[worm->wormno];
|
||||
|
||||
while (curr) {
|
||||
newsym(curr->wx, curr->wy);
|
||||
curr = curr->nseg;
|
||||
}
|
||||
}
|
||||
|
||||
/*worm.c*/
|
||||
|
||||
Reference in New Issue
Block a user