CParticleSwoosh: Initialize x68_frame on construction

Provides a deterministic initial state, which makes for nicer debugging.
This commit is contained in:
Lioncash 2020-04-13 16:23:05 -04:00
parent 93622d9b4b
commit 5b9a689703
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ class CParticleSwoosh : public CParticleGen {
float x30_irot; // Rotation bias once per system update float x30_irot; // Rotation bias once per system update
float x34_rotm; // Rotation bias once per particle instance float x34_rotm; // Rotation bias once per particle instance
zeus::CTransform x38_orientation; // Updated by user code zeus::CTransform x38_orientation; // Updated by user code
int x68_frame; // Frame index of evaluated data int x68_frame = 0; // Frame index of evaluated data
zeus::CColor x6c_color; // Updated by COLR zeus::CColor x6c_color; // Updated by COLR
int x70_startFrame; int x70_startFrame;
zeus::CVector3f x74_velocity; zeus::CVector3f x74_velocity;