diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-04-10 10:23:35 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-04-10 10:23:35 +0200 |
commit | 8917567508f1c98ba96579fdc0516cd07902c74d (patch) | |
tree | ec7078b2f0bbf736570f5a78e8db66a2a114f244 /src/render/Weather.cpp | |
parent | Fix sprite vertical scale (diff) | |
download | re3-8917567508f1c98ba96579fdc0516cd07902c74d.tar re3-8917567508f1c98ba96579fdc0516cd07902c74d.tar.gz re3-8917567508f1c98ba96579fdc0516cd07902c74d.tar.bz2 re3-8917567508f1c98ba96579fdc0516cd07902c74d.tar.lz re3-8917567508f1c98ba96579fdc0516cd07902c74d.tar.xz re3-8917567508f1c98ba96579fdc0516cd07902c74d.tar.zst re3-8917567508f1c98ba96579fdc0516cd07902c74d.zip |
Diffstat (limited to '')
-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; } |