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);
|
x74_transform = zeus::CTransform(orient, trans);
|
||||||
m_initTransform = x74_transform;
|
m_initTransform = x74_transform;
|
||||||
ReapplyXform();
|
ReapplyXform();
|
||||||
zeus::CVector3f::ReadBig(in);
|
(void)zeus::CVector3f::ReadBig(in); // Unused
|
||||||
in.readUint32Big();
|
in.readUint32Big();
|
||||||
in.readUint16Big();
|
in.readUint16Big();
|
||||||
if (isWorker) {
|
if (isWorker) {
|
||||||
|
|
|
@ -546,7 +546,7 @@ void CPlayer::UpdateMorphBallTransition(float dt, CStateManager& mgr) {
|
||||||
|
|
||||||
switch (x2f8_morphBallState) {
|
switch (x2f8_morphBallState) {
|
||||||
case EPlayerMorphBallState::Unmorphing:
|
case EPlayerMorphBallState::Unmorphing:
|
||||||
GetCollisionPrimitive()->CalculateAABox(GetPrimitiveTransform()).center();
|
(void)GetCollisionPrimitive()->CalculateAABox(GetPrimitiveTransform()).center();
|
||||||
ClearForcesAndTorques();
|
ClearForcesAndTorques();
|
||||||
SetAngularVelocityWR(zeus::CAxisAngle());
|
SetAngularVelocityWR(zeus::CAxisAngle());
|
||||||
if (x574_morphTime >= x578_morphDuration || mgr.GetCameraManager()->IsInCinematicCamera()) {
|
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());
|
CScriptDebris::EOrientationType particle2Or = CScriptDebris::EOrientationType(in.readUint32Big());
|
||||||
|
|
||||||
CAssetId particle3 = 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());
|
CScriptDebris::EOrientationType particle3Or = CScriptDebris::EOrientationType(in.readUint32Big());
|
||||||
|
|
||||||
bool solid = in.readBool();
|
bool solid = in.readBool();
|
||||||
|
|
Loading…
Reference in New Issue