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