CWallCrawlerSwarm: Initialize all CBoid members

Provides a deterministic initial state.
This commit is contained in:
Lioncash 2020-04-13 16:36:21 -04:00
parent 7fcd6f41cf
commit 2850b7e7fb
1 changed files with 2 additions and 1 deletions

View File

@ -38,7 +38,7 @@ public:
CCollisionSurface x50_surface =
CCollisionSurface(zeus::CVector3f(0.f, 0.f, 1.f), zeus::CVector3f(0.f, 1.f, 0.f),
zeus::CVector3f(1.f, 0.f, 0.f), 0xffffffff);
float x78_health;
float x78_health = 0.f;
int x7c_framesNotOnSurface : 8;
int x7c_idx : 10;
int x7c_remainingLaunchNotOnSurfaceFrames : 8;
@ -53,6 +53,7 @@ public:
: x0_xf(xf)
, x7c_framesNotOnSurface(0)
, x7c_idx(idx)
, x7c_remainingLaunchNotOnSurfaceFrames(0)
, x80_24_active(false)
, x80_25_inFrustum(false)
, x80_26_launched(false)