mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 21:57:57 +03:00
Update fog when changing whether or not the terrain must be rendered
This commit is contained in:
parent
ca4b1ebdee
commit
a74b966b7c
1 changed files with 1 additions and 0 deletions
|
@ -920,6 +920,7 @@ void World::GetRenderTerrain(Event *ev)
|
|||
void World::SetRenderTerrain(Event *ev)
|
||||
{
|
||||
render_terrain = ev->GetInteger(1);
|
||||
UpdateFog();
|
||||
}
|
||||
|
||||
void World::GetSkyboxSpeed(Event *ev)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue