summaryrefslogtreecommitdiffstats
path: root/src/render
diff options
context:
space:
mode:
authorFire-Head <Fire-Head@users.noreply.github.com>2020-10-27 16:55:28 +0100
committerFire-Head <Fire-Head@users.noreply.github.com>2020-10-27 16:55:28 +0100
commite2dc1ba10242dfd94faab1a59d27862de92bcf37 (patch)
tree7677edffb72878bbde73dd7e99688d0ee0c277ab /src/render
parentstupid bug; update librw (diff)
downloadre3-e2dc1ba10242dfd94faab1a59d27862de92bcf37.tar
re3-e2dc1ba10242dfd94faab1a59d27862de92bcf37.tar.gz
re3-e2dc1ba10242dfd94faab1a59d27862de92bcf37.tar.bz2
re3-e2dc1ba10242dfd94faab1a59d27862de92bcf37.tar.lz
re3-e2dc1ba10242dfd94faab1a59d27862de92bcf37.tar.xz
re3-e2dc1ba10242dfd94faab1a59d27862de92bcf37.tar.zst
re3-e2dc1ba10242dfd94faab1a59d27862de92bcf37.zip
Diffstat (limited to 'src/render')
-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 2c0b27d2..f16467b6 100644
--- a/src/render/Weather.cpp
+++ b/src/render/Weather.cpp
@@ -346,7 +346,7 @@ void CWeather::AddRain()
pos.y = CGeneral::GetRandomNumberInRange(DROPLETS_TOP_OFFSET, screen_height - DROPLETS_TOP_OFFSET);
pos.z = 0.0f;
CParticle::AddParticle(PARTICLE_RAINDROP_2D, pos, CVector(0.0f, 0.0f, 0.0f), nil, CGeneral::GetRandomNumberInRange(0.5f, 0.9f),
- colour, CGeneral::GetRandomNumberInRange(-10, 10), 360 - rain_angle + CGeneral::GetRandomNumberInRange(-30, 30), cur_frame, 0);
+ colour, CGeneral::GetRandomNumberInRange(-10, 10), 360 - rain_angle + CGeneral::GetRandomNumberInRange(-30, 30), cur_frame, 50);
}
int num_splash_attempts = (int)(3 * Rain) + 1;
int num_splashes = (int)(3 * Rain) + 4;