shallow water is no longer glitched when the 3D settings are illegal

This commit is contained in:
Zeno Rogue 2023-01-08 14:51:15 +01:00
parent ce93910f0f
commit 742355433a
1 changed files with 3 additions and 0 deletions

View File

@ -1026,6 +1026,9 @@ EX namespace geom3 {
ABODY = 1.08;
AHEAD = 1.12;
BIRD = 1.20;
SHALLOW = .95;
STUFF = 1;
LOWSKY = SKY = HIGH = HIGH2 = 1;
}
else {
INFDEEP = GDIM == 3 ? (sphere ? 90._deg : +5) : (euclid || sphere) ? 0.01 : lev_to_projection(0) * tanh(vid.camera);