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:
parent
2f672bc4f3
commit
8e23039fc0
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user