2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 03:47:43 +00:00

Runtime/Particle: Replace bitfield unions with constructor initializers

This commit is contained in:
2020-04-11 00:39:49 -04:00
parent f483f5c1e6
commit c7ca8dc3a7
11 changed files with 134 additions and 121 deletions

View File

@@ -9,7 +9,7 @@ CRandom16 CDecal::sDecalRandom;
bool CDecal::sMoveRedToAlphaBuffer = false;
CDecal::CDecal(const TToken<CDecalDescription>& desc, const zeus::CTransform& xf)
: x0_description(desc), xc_transform(xf) {
: x0_description(desc), xc_transform(xf), x5c_29_modelInvalid(false) {
CGlobalRandom gr(sDecalRandom);
CDecalDescription& desco = *x0_description;