diff options
author | Sergeanur <s.anureev@yandex.ua> | 2021-06-30 20:26:36 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2021-06-30 20:26:36 +0200 |
commit | 138abb91f6232ef40e1093b3c37122e1b0bf2cf1 (patch) | |
tree | c4c694734bb56c29ddf8b5bbd891741540a7c68b /src/render/Weather.cpp | |
parent | Fix script load (diff) | |
parent | Pause radio when game is paused (diff) | |
download | re3-138abb91f6232ef40e1093b3c37122e1b0bf2cf1.tar re3-138abb91f6232ef40e1093b3c37122e1b0bf2cf1.tar.gz re3-138abb91f6232ef40e1093b3c37122e1b0bf2cf1.tar.bz2 re3-138abb91f6232ef40e1093b3c37122e1b0bf2cf1.tar.lz re3-138abb91f6232ef40e1093b3c37122e1b0bf2cf1.tar.xz re3-138abb91f6232ef40e1093b3c37122e1b0bf2cf1.tar.zst re3-138abb91f6232ef40e1093b3c37122e1b0bf2cf1.zip |
Diffstat (limited to 'src/render/Weather.cpp')
-rw-r--r-- | src/render/Weather.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/Weather.cpp b/src/render/Weather.cpp index 8718e1c6..7358654c 100644 --- a/src/render/Weather.cpp +++ b/src/render/Weather.cpp @@ -286,7 +286,7 @@ void CWeather::Update(void) if (SunGlare > 0.0f) { SunGlare *= Min(1.0f, 7.0 * CTimeCycle::GetSunDirection().z); - SunGlare = clamp(SunGlare, 0.0f, 1.0f); + SunGlare = Clamp(SunGlare, 0.0f, 1.0f); if (!CSpecialFX::bSnapShotActive) SunGlare *= (1.0f - (CGeneral::GetRandomNumber()&0x1F)*0.007f); } |