diff options
author | Philipp Sehmisch <tmw@crushnet.org> | 2006-11-26 10:12:14 +0000 |
---|---|---|
committer | Philipp Sehmisch <tmw@crushnet.org> | 2006-11-26 10:12:14 +0000 |
commit | 78f7e290e46e6084bc51023ae3c8619b0695b7b6 (patch) | |
tree | 86c72dc0e278ba3a49565284d8d58755ed61b31f /src/being.cpp | |
parent | eb6a3dfd09f88414ba1bae9ffe1cf4440db7565d (diff) | |
download | mana-client-78f7e290e46e6084bc51023ae3c8619b0695b7b6.tar.gz mana-client-78f7e290e46e6084bc51023ae3c8619b0695b7b6.tar.bz2 mana-client-78f7e290e46e6084bc51023ae3c8619b0695b7b6.tar.xz mana-client-78f7e290e46e6084bc51023ae3c8619b0695b7b6.zip |
Equipment database namespace and support for gender specific equipment sprites
Diffstat (limited to 'src/being.cpp')
-rw-r--r-- | src/being.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/being.cpp b/src/being.cpp index 14d2df00..37552df3 100644 --- a/src/being.cpp +++ b/src/being.cpp @@ -62,7 +62,8 @@ Being::Being(Uint32 id, Uint16 job, Map *map): mSpeechTime(0), mDamageTime(0), mShowSpeech(false), mShowDamage(false), - mSprites(VECTOREND_SPRITE, NULL) + mSprites(VECTOREND_SPRITE, NULL), + mEquipmentSpriteIDs(VECTOREND_SPRITE, 0) { setMap(map); } @@ -122,8 +123,9 @@ Being::setHairStyle(Uint16 style) } void -Being::setVisibleEquipment(Uint8 slot, Uint8 id) +Being::setVisibleEquipment(Uint8 slot, int id) { + mEquipmentSpriteIDs[slot] = id; } void |