Merge pull request #617 from pzychotic/fix-508

Remove scaling of terrain fog ranges based on zoom
This commit is contained in:
Louis Gombert 2024-10-06 13:28:14 +02:00 committed by GitHub
commit 48c87750f4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1368,7 +1368,7 @@ void RenderTerrain(uint8_t from_mine, int left, int top, int right, int bot) {
#else
const float kTerrainRenderDistance = 1200.0f;
#endif
VisibleTerrainZ = kTerrainRenderDistance * Matrix_scale.z;
VisibleTerrainZ = kTerrainRenderDistance;
Far_fog_border = VisibleTerrainZ;
// Set up our z wall