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.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/beinghandler.cpp b/src/net/beinghandler.cpp
index 34c65d1c..affdcd56 100644
--- a/src/net/beinghandler.cpp
+++ b/src/net/beinghandler.cpp
@@ -445,7 +445,7 @@ void BeingHandler::handleMessage(MessageIn *msg)
}
gmstatus = msg->readInt16();
- if (gmstatus & 0x01)
+ if (gmstatus & 0x80)
dstBeing->setGM();
if (msg->getId() == SMSG_PLAYER_UPDATE_1)