fixed optimization in S2xE

This commit is contained in:
Zeno Rogue 2019-12-06 13:04:17 +01:00
parent dafb4ae582
commit 8ce6135599
1 changed files with 1 additions and 1 deletions

View File

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