CScriptSpindleCamera: Initialize x33c_24_inResetThink in constructor

Provides a deterministic initial state.
This commit is contained in:
Lioncash 2020-04-13 16:32:39 -04:00
parent 4341dfae50
commit 0d97104cf2
1 changed files with 1 additions and 1 deletions

View File

@ -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)]; }