Silence discard errors

This commit is contained in:
Phillip Stephens 2020-03-04 18:40:03 -08:00
parent 1092250559
commit 2f9dd38bbe
Signed by: Antidote
GPG Key ID: F8BEE4C83DACA60D
3 changed files with 3 additions and 3 deletions

View File

@ -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) {

View File

@ -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()) {

View File

@ -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();