mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-02-03 04:39:17 +00:00
fixed optimization in S2xE
This commit is contained in:
parent
dafb4ae582
commit
8ce6135599
@ -1546,7 +1546,7 @@ void celldrawer::draw_features_and_walls_3d() {
|
||||
}
|
||||
}
|
||||
else if(prod) {
|
||||
if(a < c->type-2) {
|
||||
if(a < c->type-2 && !in_s2xe()) {
|
||||
ld d = in_e2xe() ? sqhypot_d(2, tC0(V)) : V[2][2];
|
||||
hyperpoint h = (V * cgi.walltester[ofs + a]);
|
||||
ld d1 = in_e2xe() ? sqhypot_d(2, h) : h[2];
|
||||
|
Loading…
Reference in New Issue
Block a user