summaryrefslogtreecommitdiff
path: root/src/being.h
diff options
context:
space:
mode:
authorBertram <bertram@cegetel.net>2010-02-23 18:47:19 +0100
committerBertram <bertram@cegetel.net>2010-02-23 18:47:19 +0100
commit21d785397e58aa6c62e2e19353d61df73e69a5a0 (patch)
treecb1ef5f2697e23b48a3930f1e117bce54b10bad8 /src/being.h
parent4ce429b7f949524b5392d91cf480c933882d15d9 (diff)
downloadmana-21d785397e58aa6c62e2e19353d61df73e69a5a0.tar.gz
mana-21d785397e58aa6c62e2e19353d61df73e69a5a0.tar.bz2
mana-21d785397e58aa6c62e2e19353d61df73e69a5a0.tar.xz
mana-21d785397e58aa6c62e2e19353d61df73e69a5a0.zip
Got rid of superfluous Destination coordinates in LocalPlayer.
This will help simplifying setDestination() calls. No regression seen in both client.
Diffstat (limited to 'src/being.h')
-rw-r--r--src/being.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/being.h b/src/being.h
index 58fe4c77..3b63b02d 100644
--- a/src/being.h
+++ b/src/being.h
@@ -645,6 +645,8 @@ class Being : public Sprite, public ConfigListener
ParticleVector mStatusParticleEffects;
ParticleList mChildParticleEffects;
+ Vector mDest; /**< destination coordinates. */
+
private:
/**
@@ -668,9 +670,8 @@ class Being : public Sprite, public ConfigListener
*/
Vector mWalkSpeed;
- Vector mPos;
- Vector mDest;
- int mX, mY; /**< Position on tile */
+ Vector mPos; /**< Position coordinates. */
+ int mX, mY; /**< Position in tile */
int mDamageTaken;