CFogState::m_rangeScale fog disable corner case handling

This commit is contained in:
Jack Andersen 2016-12-05 16:30:07 -10:00 committed by GitHub
parent be40ebc8db
commit 265eeeeac3
1 changed files with 1 additions and 0 deletions

View File

@ -71,6 +71,7 @@ void CGraphics::SetFog(ERglFogMode mode, float startz, float endz, const zeus::C
if (mode == ERglFogMode::None)
{
g_Fog.m_start = 4096.f;
g_Fog.m_rangeScale = 1.f;
}
else
{