mirror of https://github.com/AxioDL/metaforce.git
Fix CActor & CScriptDebris CModelFlags
This commit is contained in:
parent
8096ffc29a
commit
ddc34e3a0c
|
@ -40,7 +40,7 @@ protected:
|
|||
std::unique_ptr<CSimpleShadow> x94_simpleShadow;
|
||||
TLockedToken<CScannableObjectInfo> x98_scanObjectInfo;
|
||||
zeus::CAABox x9c_renderBounds;
|
||||
CModelFlags xb4_drawFlags;
|
||||
CModelFlags xb4_drawFlags{0, 0, 3, zeus::skWhite};
|
||||
float xbc_time = 0.f;
|
||||
float xc0_pitchBend = 0.f;
|
||||
TUniqueId xc4_fluidId = kInvalidUniqueId;
|
||||
|
|
|
@ -396,7 +396,7 @@ void CScriptDebris::PreRender(CStateManager& mgr, const zeus::CFrustum& frustum)
|
|||
t = 0.f;
|
||||
}
|
||||
|
||||
xb4_drawFlags = CModelFlags(5, 0, 3, zeus::CColor::lerp(zeus::skWhite, x268_endsColor, t));
|
||||
xb4_drawFlags = CModelFlags(5, 0, t == 1.f ? 3 : 1, zeus::CColor::lerp(zeus::skWhite, x268_endsColor, t));
|
||||
}
|
||||
|
||||
void CScriptDebris::Render(CStateManager& mgr) { CPhysicsActor::Render(mgr); }
|
||||
|
|
Loading…
Reference in New Issue