diff options
author | Yohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer> | 2010-07-30 01:02:25 +0200 |
---|---|---|
committer | Yohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer> | 2010-07-30 01:17:17 +0200 |
commit | 4cbbfeca46c60fc0efdfe901e69324cd8358308e (patch) | |
tree | 199c96c8ef80dd37cdb6a66124f6f17b4e6945e6 /src/net | |
parent | 5711dc9a0c1952f2d523bc6c6106d8ef3b47a201 (diff) | |
download | mana-4cbbfeca46c60fc0efdfe901e69324cd8358308e.tar.gz mana-4cbbfeca46c60fc0efdfe901e69324cd8358308e.tar.bz2 mana-4cbbfeca46c60fc0efdfe901e69324cd8358308e.tar.xz mana-4cbbfeca46c60fc0efdfe901e69324cd8358308e.zip |
Fixed weapon animations for manaserv.
The beinghandler didn't tell to the being::setSprite() function
if the equipment was a weapon or not.
Resolves: Manasource-Mantis #157.
Reviewed-by: Jaxad0127.
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/manaserv/beinghandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/manaserv/beinghandler.cpp b/src/net/manaserv/beinghandler.cpp index f499ff0a..63c1e13f 100644 --- a/src/net/manaserv/beinghandler.cpp +++ b/src/net/manaserv/beinghandler.cpp @@ -144,7 +144,7 @@ static void handleLooks(Being *being, Net::MessageIn &msg) { if (!(mask & (1 << i))) continue; int id = msg.readInt16(); - being->setSprite(slots[i], id); + being->setSprite(slots[i], id,"", (slots[i] == SPRITE_WEAPON)); } } |