summaryrefslogtreecommitdiff
path: root/src/net/beinghandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/beinghandler.cpp')
-rw-r--r--src/net/beinghandler.cpp3
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);