Handle gone portal for migrating monsters
If the quest portal was gone, due to hero expulsion, migrating monsters caused an impossible.
This commit is contained in:
@@ -408,7 +408,8 @@ boolean with_you;
|
|||||||
if (t) {
|
if (t) {
|
||||||
xlocale = t->tx, ylocale = t->ty;
|
xlocale = t->tx, ylocale = t->ty;
|
||||||
break;
|
break;
|
||||||
} else {
|
} else if (!(u.uevent.qexpelled
|
||||||
|
&& (Is_qstart(&u.uz0) || Is_qstart(&u.uz)))) {
|
||||||
impossible("mon_arrive: no corresponding portal?");
|
impossible("mon_arrive: no corresponding portal?");
|
||||||
} /*FALLTHRU*/
|
} /*FALLTHRU*/
|
||||||
default:
|
default:
|
||||||
|
|||||||
Reference in New Issue
Block a user