diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2008-12-07 18:20:26 +0100 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2008-12-07 18:20:26 +0100 |
commit | 719e2b02bc6833198d6af2d3c95de96ef95f876d (patch) | |
tree | 553c77d8d6d2519b6f4612781a371a1d505f7bb4 /src/localplayer.h | |
parent | ca366e65e331ac9416a8198131e743a7a8bdf146 (diff) | |
download | mana-719e2b02bc6833198d6af2d3c95de96ef95f876d.tar.gz mana-719e2b02bc6833198d6af2d3c95de96ef95f876d.tar.bz2 mana-719e2b02bc6833198d6af2d3c95de96ef95f876d.tar.xz mana-719e2b02bc6833198d6af2d3c95de96ef95f876d.zip |
Added some initialization and removed ChargeDialog
Many member variables of LocalPlayer were not being initialized
properly. In general this shouldn't have caused any problems, but it's
bad style.
The ChargeDialog was removed. This class was long dead anyway.
Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl>
Diffstat (limited to 'src/localplayer.h')
-rw-r--r-- | src/localplayer.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/localplayer.h b/src/localplayer.h index 5e0a4419..fdd22303 100644 --- a/src/localplayer.h +++ b/src/localplayer.h @@ -176,7 +176,7 @@ class LocalPlayer : public Player */ int getXp() const { return mXp; } - Uint32 mCharId; + Uint32 mCharId; /**< Used only during character selection. */ Uint32 mJobXp; Uint16 mLevel; @@ -198,8 +198,6 @@ class LocalPlayer : public Player Uint16 mStatPoint, mSkillPoint; Uint16 mStatsPointsToAttribute; - float mLastAttackTime; /**< Used to synchronize the charge dialog */ - protected: virtual void handleStatusEffect(StatusEffect *effect, int effectId); |