CElementGen: Initialize x80_timeDeltaScale on construction

Provides deterministic state upon construction, which is nicer for
debugging.
This commit is contained in:
Lioncash 2020-04-14 16:11:30 -04:00
parent 384efebf55
commit 8e89ac234f
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ private:
int x70_internalStartFrame = 0;
int x74_curFrame = 0;
double x78_curSeconds = 0.f;
float x80_timeDeltaScale;
float x80_timeDeltaScale = 0.f;
int x84_prevFrame = -1;
bool x88_particleEmission = true;
float x8c_generatorRemainder = 0.f;