mirror of https://github.com/AxioDL/metaforce.git
CParticleSwoosh: Initialize x68_frame on construction
Provides a deterministic initial state, which makes for nicer debugging.
This commit is contained in:
parent
93622d9b4b
commit
5b9a689703
|
@ -34,7 +34,7 @@ class CParticleSwoosh : public CParticleGen {
|
|||
float x30_irot; // Rotation bias once per system update
|
||||
float x34_rotm; // Rotation bias once per particle instance
|
||||
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
|
||||
int x70_startFrame;
|
||||
zeus::CVector3f x74_velocity;
|
||||
|
|
Loading…
Reference in New Issue