diff options
author | Guillaume Melquiond <guillaume.melquiond@gmail.com> | 2007-08-08 14:40:09 +0000 |
---|---|---|
committer | Guillaume Melquiond <guillaume.melquiond@gmail.com> | 2007-08-08 14:40:09 +0000 |
commit | 998920e7da3c1b27f2d7cc5f8b5a37efbf5663e5 (patch) | |
tree | 28278b3208c650bdf6d2857cdfad95806d052bea /src/net | |
parent | dc171fd00cd575d76b51501d6ce68b68faefe2e7 (diff) | |
download | mana-client-998920e7da3c1b27f2d7cc5f8b5a37efbf5663e5.tar.gz mana-client-998920e7da3c1b27f2d7cc5f8b5a37efbf5663e5.tar.bz2 mana-client-998920e7da3c1b27f2d7cc5f8b5a37efbf5663e5.tar.xz mana-client-998920e7da3c1b27f2d7cc5f8b5a37efbf5663e5.zip |
Fixed position of the cleaning bit for looks, so that it actually fits into network data.
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/beinghandler.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/net/beinghandler.cpp b/src/net/beinghandler.cpp index 44b1a7af..87972212 100644 --- a/src/net/beinghandler.cpp +++ b/src/net/beinghandler.cpp @@ -424,7 +424,8 @@ static void handleLooks(Being *being, MessageIn &msg) Being::BOTTOMCLOTHES_SPRITE }; int mask = msg.readByte(); - if (mask & (1 << 8)) + + if (mask & (1 << 7)) { // The equipment has to be cleared first. being->setWeaponById(0); |