From 8e23039fc09c8ba982c50f1abced4d66ff7eea58 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sat, 17 Sep 2022 15:17:08 +0200 Subject: [PATCH] ads-game:: better swap --- rogueviz/ads/map.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rogueviz/ads/map.cpp b/rogueviz/ads/map.cpp index e392502b..8f1cbdb7 100644 --- a/rogueviz/ads/map.cpp +++ b/rogueviz/ads/map.cpp @@ -251,9 +251,9 @@ void handle_crashes() { } hyperpoint h1 = normalize(h); - swap(h1[2], h1[3]); bool crashed = false; hybrid::in_actual([&] { + swap(h1[2], h1[3]); ads_point rel = ads_inverse(current * vctrV) * ads_point(h1, 0); cell *c = vctr; virtualRebase(c, rel.h);