2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-07-04 15:55:51 +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: public:
class CScaledLayoutDescription { class CScaledLayoutDescription {
TLockedToken<CCharLayoutInfo> x0_layoutToken; TLockedToken<CCharLayoutInfo> x0_layoutToken;
float xc_scale; float xc_scale = 0.0f;
std::optional<zeus::CVector3f> x10_scaleVec; std::optional<zeus::CVector3f> x10_scaleVec;
public: public: