Skip to content

Commit eb38df8

Browse files
ficool2mastercoms
authored andcommitted
Fix radial fog not being enabled in 3D sky on official maps
1 parent 763993f commit eb38df8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/game/server/SkyCamera.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,4 +146,10 @@ void CSkyCamera::Activate( )
146146
}
147147
}
148148
#endif
149+
150+
// matches the behavior of fog controller
151+
if ( GameRules()->IsOfficialMap() )
152+
{
153+
m_skyboxData.fog.radial = true;
154+
}
149155
}

0 commit comments

Comments
 (0)