diff options
author | Guillaume Melquiond <guillaume.melquiond@gmail.com> | 2007-07-08 15:21:33 +0000 |
---|---|---|
committer | Guillaume Melquiond <guillaume.melquiond@gmail.com> | 2007-07-08 15:21:33 +0000 |
commit | 2aab954cf063fdbc21d3681c227dbe06cf0d270e (patch) | |
tree | 3502496969f06d70b7482a9251369c5b1564b115 /src | |
parent | d72e1987f9703d2e3a37ad930a1bc8ceaf525065 (diff) | |
download | mana-2aab954cf063fdbc21d3681c227dbe06cf0d270e.tar.gz mana-2aab954cf063fdbc21d3681c227dbe06cf0d270e.tar.bz2 mana-2aab954cf063fdbc21d3681c227dbe06cf0d270e.tar.xz mana-2aab954cf063fdbc21d3681c227dbe06cf0d270e.zip |
Fixed some uninitialized variables.
Diffstat (limited to 'src')
-rw-r--r-- | src/localplayer.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/localplayer.cpp b/src/localplayer.cpp index 97371677..4d42c7aa 100644 --- a/src/localplayer.cpp +++ b/src/localplayer.cpp @@ -42,10 +42,14 @@ LocalPlayer::LocalPlayer(): mInventory(new Inventory()), mAttributeBase(NB_BASE_ATTRIBUTES, 0), mAttributeEffective(NB_BASE_ATTRIBUTES, 0), - mLevel(1), + mAttributeIncreasePoints(0), + mLevel(1), mMoney(0), + mTotalWeight(1), mMaxWeight(1), + mHP(1), mMaxHP(1), mTarget(NULL), mPickUpTarget(NULL), mTrading(false), - mLastAction(-1) + mLastAction(-1), mWalkingDir(0), + mDestX(0), mDestY(0) { } |