* see_wsegs() * * Refresh all of the segments of the given worm. This is only called * from see_monster() in display.c or when a monster goes minvis. It * is located here for modularity. */
| 484 | * is located here for modularity. |
| 485 | */ |
| 486 | void |
| 487 | see_wsegs(struct monst *worm) |
| 488 | { |
| 489 | struct wseg *curr = wtails[worm->wormno]; |
| 490 | |
| 491 | while (curr != wheads[worm->wormno]) { |
| 492 | newsym(curr->wx, curr->wy); |
| 493 | curr = curr->nseg; |
| 494 | } |
| 495 | } |
| 496 | |
| 497 | /* |
| 498 | * detect_wsegs() |
no test coverage detected