More long worm checks when splitting
When a long worm is split into two, perform more checks placing the segments on the map.
This commit is contained in:
@@ -1587,7 +1587,7 @@ struct monst *mtmp, *mtmp2;
|
||||
if (mtmp != u.usteed) /* don't place steed onto the map */
|
||||
place_monster(mtmp2, mtmp2->mx, mtmp2->my);
|
||||
if (mtmp2->wormno) /* update level.monsters[wseg->wx][wseg->wy] */
|
||||
place_wsegs(mtmp2); /* locations to mtmp2 not mtmp. */
|
||||
place_wsegs(mtmp2, NULL); /* locations to mtmp2 not mtmp. */
|
||||
if (emits_light(mtmp2->data)) {
|
||||
/* since this is so rare, we don't have any `mon_move_light_source' */
|
||||
new_light_source(mtmp2->mx, mtmp2->my, emits_light(mtmp2->data),
|
||||
|
||||
Reference in New Issue
Block a user