mirror of https://github.com/AxioDL/metaforce.git
CScriptSpindleCamera: Initialize x33c_24_inResetThink in constructor
Provides a deterministic initial state.
This commit is contained in:
parent
4341dfae50
commit
0d97104cf2
|
@ -78,7 +78,7 @@ class CScriptSpindleCamera : public CGameCamera {
|
||||||
float x328_maxAzimuthInterpTimer = 0.f;
|
float x328_maxAzimuthInterpTimer = 0.f;
|
||||||
bool x32c_outsideClampedAzimuth = false;
|
bool x32c_outsideClampedAzimuth = false;
|
||||||
zeus::CVector3f x330_lookDir;
|
zeus::CVector3f x330_lookDir;
|
||||||
bool x33c_24_inResetThink;
|
bool x33c_24_inResetThink = false;
|
||||||
|
|
||||||
float GetInVar(const SSpindleProperty& seg) const { return x18c_inVars[int(seg.x4_input)]; }
|
float GetInVar(const SSpindleProperty& seg) const { return x18c_inVars[int(seg.x4_input)]; }
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue