diff options
author | Björn Steinbrink <B.Steinbrink@gmx.de> | 2006-05-12 16:09:18 +0000 |
---|---|---|
committer | Björn Steinbrink <B.Steinbrink@gmx.de> | 2006-05-12 16:09:18 +0000 |
commit | 918548bbb6d64a64c0e3ecf4c7e715cb7ac5ed00 (patch) | |
tree | d52024089848a3db72d7238432f28e57335460ac /src/being.cpp | |
parent | 3ac438c461e66b50151579db3362cd939a41f83c (diff) | |
download | mana-client-918548bbb6d64a64c0e3ecf4c7e715cb7ac5ed00.tar.gz mana-client-918548bbb6d64a64c0e3ecf4c7e715cb7ac5ed00.tar.bz2 mana-client-918548bbb6d64a64c0e3ecf4c7e715cb7ac5ed00.tar.xz mana-client-918548bbb6d64a64c0e3ecf4c7e715cb7ac5ed00.zip |
Fixed initialization order in Being ctor.
Diffstat (limited to 'src/being.cpp')
-rw-r--r-- | src/being.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/being.cpp b/src/being.cpp index 9e2e3d7d..7ce31c93 100644 --- a/src/being.cpp +++ b/src/being.cpp @@ -49,6 +49,7 @@ Being::Being(Uint32 id, Uint16 job, Map *map): mWalkTime(0), mEmotion(0), mEmotionTime(0), mAttackSpeed(350), + mEquipment(new Equipment()), mId(id), mWeapon(0), mWalkSpeed(150), @@ -57,8 +58,7 @@ Being::Being(Uint32 id, Uint16 job, Map *map): mSpeechTime(0), mDamageTime(0), mShowSpeech(false), mShowDamage(false), - mSpriteset(NULL), mSpriteFrame(0), - mEquipment(new Equipment()) + mSpriteset(NULL), mSpriteFrame(0) { setMap(map); } |