Removed unused variables
parent
6534978dea
commit
1717fe071e
|
@ -175,8 +175,8 @@ public:
|
|||
|
||||
void SetPower(CObject* power) override;
|
||||
CObject* GetPower() override;
|
||||
Math::Vector GetPowerPosition();
|
||||
void SetPowerPosition(const Math::Vector& powerPosition);
|
||||
Math::Vector GetPowerPosition() override;
|
||||
void SetPowerPosition(const Math::Vector& powerPosition) override;
|
||||
void SetCargo(CObject* cargo) override;
|
||||
CObject* GetCargo() override;
|
||||
void SetTransporter(CObject* transporter) override;
|
||||
|
|
|
@ -892,7 +892,6 @@ CObject* CTaskManip::SearchOtherObject(bool bAdvance, Math::Vector &pos,
|
|||
float &distance, float &angle,
|
||||
float &height)
|
||||
{
|
||||
Character* character;
|
||||
Math::Matrix* mat;
|
||||
float iAngle, oAngle, oLimit, aLimit, dLimit;
|
||||
|
||||
|
|
|
@ -2958,7 +2958,6 @@ void CPhysics::FrameParticle(float aTime, float rTime)
|
|||
|
||||
void CPhysics::PowerParticle(float factor, bool bBreak)
|
||||
{
|
||||
Character* character;
|
||||
Math::Matrix* mat;
|
||||
Math::Vector pos, ppos, eye, speed;
|
||||
Math::Point dim;
|
||||
|
@ -2976,7 +2975,6 @@ void CPhysics::PowerParticle(float factor, bool bBreak)
|
|||
}
|
||||
|
||||
mat = m_object->GetWorldMatrix(0);
|
||||
character = m_object->GetCharacter();
|
||||
|
||||
pos = m_object->GetPowerPosition();
|
||||
pos.x -= 0.3f;
|
||||
|
|
Loading…
Reference in New Issue