CRainSplashGenerator: Amend lower bound constant for speed in SSplashLine::Update()

Game code actually uses a constant of 4.0f as the lower bound for speed, not
0.015625f.
This commit is contained in:
Lioncash 2020-01-30 22:13:24 -05:00
parent 7b89a165bf
commit 1aa24bd287
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ void CRainSplashGenerator::SSplashLine::Update(float dt, CStateManager& mgr) {
x15_length -= 1; x15_length -= 1;
} else { } else {
x16_active = false; x16_active = false;
xc_speed = mgr.GetActiveRandom()->Range(0.015625f, 8.f); xc_speed = mgr.GetActiveRandom()->Range(4.0f, 8.0f);
x10_zParabolaHeight = mgr.GetActiveRandom()->Range(0.015625f, 0.03125f); x10_zParabolaHeight = mgr.GetActiveRandom()->Range(0.015625f, 0.03125f);
x4_xEnd = mgr.GetActiveRandom()->Range(-0.125f, 0.125f); x4_xEnd = mgr.GetActiveRandom()->Range(-0.125f, 0.125f);
x8_yEnd = mgr.GetActiveRandom()->Range(-0.125f, 0.125f); x8_yEnd = mgr.GetActiveRandom()->Range(-0.125f, 0.125f);