fixed INFDEEP

This commit is contained in:
Zeno Rogue
2019-09-12 22:43:01 +02:00
parent aa8d4965e4
commit ca54c5cdfd
+1 -1
View File
@@ -333,7 +333,7 @@ namespace geom3 {
BIRD = 1.20;
}
else {
INFDEEP = (euclid || sphere) ? 0.01 : lev_to_projection(0) * tanh(camera);
INFDEEP = GDIM == 3 ? -10 : (euclid || sphere) ? 0.01 : lev_to_projection(0) * tanh(camera);
ld wh = actual_wall_height();
WALL = lev_to_factor(wh);
FLOOR = lev_to_factor(0);