summaryrefslogtreecommitdiff
path: root/src/being.cpp
diff options
context:
space:
mode:
authorEugenio Favalli <elvenprogrammer@gmail.com>2006-05-12 10:22:03 +0000
committerEugenio Favalli <elvenprogrammer@gmail.com>2006-05-12 10:22:03 +0000
commit3ac438c461e66b50151579db3362cd939a41f83c (patch)
treeb47f37d30734626c4944f925adf096559661cc64 /src/being.cpp
parent6c0e78de6eb137e75473e056eec238cd31b9e901 (diff)
downloadmana-3ac438c461e66b50151579db3362cd939a41f83c.tar.gz
mana-3ac438c461e66b50151579db3362cd939a41f83c.tar.bz2
mana-3ac438c461e66b50151579db3362cd939a41f83c.tar.xz
mana-3ac438c461e66b50151579db3362cd939a41f83c.zip
You can now see the shirt when equipping a top equipment.
Diffstat (limited to 'src/being.cpp')
-rw-r--r--src/being.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/being.cpp b/src/being.cpp
index a74efe5f..9e2e3d7d 100644
--- a/src/being.cpp
+++ b/src/being.cpp
@@ -22,6 +22,7 @@
*/
#include "being.h"
+#include "equipment.h"
#include "game.h"
#include "graphics.h"
#include "log.h"
@@ -56,7 +57,8 @@ Being::Being(Uint32 id, Uint16 job, Map *map):
mSpeechTime(0),
mDamageTime(0),
mShowSpeech(false), mShowDamage(false),
- mSpriteset(NULL), mSpriteFrame(0)
+ mSpriteset(NULL), mSpriteFrame(0),
+ mEquipment(new Equipment())
{
setMap(map);
}