summaryrefslogtreecommitdiffstats
path: root/src/render/Weather.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-04-10 10:23:35 +0200
committerSergeanur <s.anureev@yandex.ua>2020-04-10 10:23:35 +0200
commit8917567508f1c98ba96579fdc0516cd07902c74d (patch)
treeec7078b2f0bbf736570f5a78e8db66a2a114f244 /src/render/Weather.cpp
parentFix sprite vertical scale (diff)
downloadre3-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 'src/render/Weather.cpp')
-rw-r--r--src/render/Weather.cpp2
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;
}