mirror of
https://github.com/edubart/otclient.git
synced 2025-10-19 05:53:26 +02:00
implement combobox and do some ui rework
This commit is contained in:
@@ -36,7 +36,7 @@ public:
|
||||
|
||||
bool hasFinished() { return m_finished; }
|
||||
|
||||
PointF getPosition() { return m_position; }
|
||||
PointF getPos() { return m_position; }
|
||||
PointF getVelocity() { return m_velocity; }
|
||||
|
||||
void setPos(const PointF& position) { m_position = position; }
|
||||
|
@@ -131,7 +131,7 @@ void AttractionAffector::updateParticle(const ParticlePtr& particle, double elap
|
||||
if(!m_active)
|
||||
return;
|
||||
|
||||
PointF pPosition = particle->getPosition();
|
||||
PointF pPosition = particle->getPos();
|
||||
PointF d = PointF(m_position.x - pPosition.x, pPosition.y - m_position.y);
|
||||
if(d.length() == 0)
|
||||
return;
|
||||
|
Reference in New Issue
Block a user