mirror of https://github.com/AxioDL/metaforce.git
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:
parent
7b89a165bf
commit
1aa24bd287
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue