2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-07-04 12:35:52 +00:00

CLayoutDescription: Always initialize xc_scale

Provides a total deterministic initial state for the data member.
This commit is contained in:
Lioncash 2020-04-07 12:34:12 -04:00
parent c3ddbfae89
commit 5fe494f683

View File

@ -13,7 +13,7 @@ class CLayoutDescription {
public:
class CScaledLayoutDescription {
TLockedToken<CCharLayoutInfo> x0_layoutToken;
float xc_scale;
float xc_scale = 0.0f;
std::optional<zeus::CVector3f> x10_scaleVec;
public: