mirror of https://github.com/AxioDL/metaforce.git
Silence discard errors
This commit is contained in:
parent
1092250559
commit
2f9dd38bbe
|
@ -66,7 +66,7 @@ void CGuiWidget::ParseBaseInfo(CGuiFrame* frame, CInputStream& in, const CGuiWid
|
|||
x74_transform = zeus::CTransform(orient, trans);
|
||||
m_initTransform = x74_transform;
|
||||
ReapplyXform();
|
||||
zeus::CVector3f::ReadBig(in);
|
||||
(void)zeus::CVector3f::ReadBig(in); // Unused
|
||||
in.readUint32Big();
|
||||
in.readUint16Big();
|
||||
if (isWorker) {
|
||||
|
|
|
@ -546,7 +546,7 @@ void CPlayer::UpdateMorphBallTransition(float dt, CStateManager& mgr) {
|
|||
|
||||
switch (x2f8_morphBallState) {
|
||||
case EPlayerMorphBallState::Unmorphing:
|
||||
GetCollisionPrimitive()->CalculateAABox(GetPrimitiveTransform()).center();
|
||||
(void)GetCollisionPrimitive()->CalculateAABox(GetPrimitiveTransform()).center();
|
||||
ClearForcesAndTorques();
|
||||
SetAngularVelocityWR(zeus::CAxisAngle());
|
||||
if (x574_morphTime >= x578_morphDuration || mgr.GetCameraManager()->IsInCinematicCamera()) {
|
||||
|
|
|
@ -2066,7 +2066,7 @@ CEntity* ScriptLoader::LoadDebrisExtended(CStateManager& mgr, CInputStream& in,
|
|||
CScriptDebris::EOrientationType particle2Or = CScriptDebris::EOrientationType(in.readUint32Big());
|
||||
|
||||
CAssetId particle3 = in.readUint32Big();
|
||||
/*zeus::CVector3f particle3Scale =*/zeus::CVector3f::ReadBig(in); /* Not actually used, go figure */
|
||||
/*zeus::CVector3f particle3Scale =*/(void)zeus::CVector3f::ReadBig(in); /* Not actually used, go figure */
|
||||
CScriptDebris::EOrientationType particle3Or = CScriptDebris::EOrientationType(in.readUint32Big());
|
||||
|
||||
bool solid = in.readBool();
|
||||
|
|
Loading…
Reference in New Issue