summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLloyd Bryant <lloyd_bryant@netzero.net>2008-08-13 23:48:07 +0000
committerLloyd Bryant <lloyd_bryant@netzero.net>2008-08-13 23:48:07 +0000
commit7618ab3d354a1691d656f1be160e7ffeb8f46b21 (patch)
tree026cd6d17a3638bfe56ffd60f557e4ca2428a968 /src
parent2c7db5f8f052930784be5bd661f0919db5111b66 (diff)
downloadmana-7618ab3d354a1691d656f1be160e7ffeb8f46b21.tar.gz
mana-7618ab3d354a1691d656f1be160e7ffeb8f46b21.tar.bz2
mana-7618ab3d354a1691d656f1be160e7ffeb8f46b21.tar.xz
mana-7618ab3d354a1691d656f1be160e7ffeb8f46b21.zip
Changed the bit to signal GM status to evade bad data from TMW's server
Diffstat (limited to 'src')
-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)