CRainSplashGenerator: Always initialize x24_generateInterval

Provides a deterministic consistent initial state.
This commit is contained in:
Lioncash 2020-04-07 13:01:58 -04:00
parent 3ea8eb21cf
commit fe32cea8fc
1 changed files with 3 additions and 3 deletions

View File

@ -46,9 +46,9 @@ class CRainSplashGenerator {
std::vector<SRainSplash> x0_rainSplashes; std::vector<SRainSplash> x0_rainSplashes;
CRandom16 x10_random = {99}; CRandom16 x10_random = {99};
zeus::CVector3f x14_scale; zeus::CVector3f x14_scale;
float x20_generateTimer = 0.f; float x20_generateTimer = 0.0f;
float x24_generateInterval; float x24_generateInterval = 0.0f;
float x28_dt = 0.f; float x28_dt = 0.0f;
float x2c_minZ; float x2c_minZ;
float x30_alpha; float x30_alpha;
u32 x34_curPoint = 0; u32 x34_curPoint = 0;