mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-11-16 12:44:30 +00:00
ads-game:: better swap
This commit is contained in:
1 parent
2f672bc4f3
commit
8e23039fc0
1 file changed
+1
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user