fixed through_wall

This commit is contained in:
Zeno Rogue committed 2022-10-27 16:06:39 +02:00
1 parent 18f571b683
commit 64a613572a
2 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -546,7 +546,7 @@ EX void shift_view_portal(hyperpoint H) {
EX const connection_data* through_portal() {
transmatrix iView = view_inverse(View);
int nei = through_wall(iView * C0);
int nei = through_wall(centerover, iView * C0);
if(nei == -1) return nullptr;
auto cw1 = cellwalker(centerover, nei);
return at_or_null(connections, cw1);