summaryrefslogtreecommitdiff
path: root/src/localplayer.cpp
diff options
context:
space:
mode:
authorFate <fate-tmw@googlemail.com>2008-11-28 21:21:27 -0700
committerFate <fate-tmw@googlemail.com>2008-11-28 21:21:27 -0700
commitb5ef3811e697a6a4dc963399424115c53502a4e5 (patch)
tree8525acfe7421f48f27582e1632106c15f6c79812 /src/localplayer.cpp
parent65e94b56c9b7b0f69911ba37fe1a22f22e9ba09e (diff)
downloadmana-b5ef3811e697a6a4dc963399424115c53502a4e5.tar.gz
mana-b5ef3811e697a6a4dc963399424115c53502a4e5.tar.bz2
mana-b5ef3811e697a6a4dc963399424115c53502a4e5.tar.xz
mana-b5ef3811e697a6a4dc963399424115c53502a4e5.zip
Initialise mSkillPoint variable to avoid erroneous skill point displays during game startup
Diffstat (limited to 'src/localplayer.cpp')
-rw-r--r--src/localplayer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/localplayer.cpp b/src/localplayer.cpp
index f67b3185..bcb4820f 100644
--- a/src/localplayer.cpp
+++ b/src/localplayer.cpp
@@ -42,6 +42,7 @@ LocalPlayer *player_node = NULL;
LocalPlayer::LocalPlayer(Uint32 id, Uint16 job, Map *map):
Player(id, job, map),
+ mSkillPoint(0),
mXpForNextLevel(0),
mAttackRange(0),
mXp(0), mNetwork(0),