Fix tutorial breaking other portals

This commit is contained in:
Pasi Kallinen
2023-04-15 13:25:43 +03:00
parent 1a2d844a22
commit 51ebfb2f0b
-3
View File
@@ -1338,9 +1338,6 @@ place_branch(
}
if (br->type == BR_PORTAL) {
if (u.ucamefrom.dnum || u.ucamefrom.dlevel)
mkportal(x, y, u.ucamefrom.dnum, u.ucamefrom.dlevel);
else
mkportal(x, y, dest->dnum, dest->dlevel);
} else if (make_stairs) {
boolean goes_up = on_level(&br->end1, &u.uz) ? br->end1_up