intra:: shift_view_portal now calls itself recursively so multiple portal passes at once work

This commit is contained in:
Zeno Rogue 2022-02-27 14:50:33 +01:00
parent eed81a3630
commit 45fb8fcb44
1 changed files with 1 additions and 1 deletions

View File

@ -523,7 +523,7 @@ EX void shift_view_portal(hyperpoint H) {
println(hlog, "maxv = ", maxv);
shift_view(H * maxv);
check_portal_movement();
shift_view(H * (1 - maxv));
shift_view_portal(H * (1 - maxv));
}
EX const connection_data* through_portal() {