diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-04-10 11:23:35 +0300 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-04-10 11:23:35 +0300 |
commit | 8917567508f1c98ba96579fdc0516cd07902c74d (patch) | |
tree | ec7078b2f0bbf736570f5a78e8db66a2a114f244 /src/render | |
parent | 6647312660cb6c67d7ee3fec89897c930783a77f (diff) |
Fixing mixed IsCutsceneProcessing and IsRunning
Diffstat (limited to 'src/render')
-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 53daa70f..b440e77c 100644 --- a/src/render/Weather.cpp +++ b/src/render/Weather.cpp @@ -475,7 +475,7 @@ void CWeather::RenderRainStreaks(void) // 1/16 probability Streaks[i].direction = CVector(4.0f, 4.0f, -4.0f); Streaks[i].position = 6.0f * TheCamera.GetForward() + TheCamera.GetPosition() + CVector(-1.8f * Streaks[i].direction.x, -1.8f * Streaks[i].direction.y, 8.0f); - if (!CCutsceneMgr::IsCutsceneProcessing()) { + if (!CCutsceneMgr::IsRunning()) { Streaks[i].position.x += 2.0f * FindPlayerSpeed().x * 60.0f; Streaks[i].position.y += 2.0f * FindPlayerSpeed().y * 60.0f; } |