Skip to content

Commit

Permalink
🐛 Fixed survey map on tall terrains
Browse files Browse the repository at this point in the history
  • Loading branch information
CuriousMike56 authored and ohlidalp committed Jan 30, 2024
1 parent 891d807 commit b1dae36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/main/gfx/SurveyMapTextureCreator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ static int counter = 0;
SurveyMapTextureCreator::SurveyMapTextureCreator(Ogre::Real terrain_height) :
mCamera(nullptr),
mRttTex(nullptr),
mTerrainHeight(Math::Clamp(terrain_height + 100.0f, 150.0f, 420.0f))
mTerrainHeight(Math::Clamp(terrain_height + 100.0f, 150.0f, 2500.0f))
{
counter++;
mTextureName = "MapRttTex-" + TOSTRING(counter);
Expand Down

0 comments on commit b1dae36

Please sign in to comment.