1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-23 21:07:17 +00:00

ads-game:: better swap

This commit is contained in:
Zeno Rogue 2022-09-17 15:17:08 +02:00
parent 2f672bc4f3
commit 8e23039fc0

View File

@ -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);