diff options
Diffstat (limited to 'src/net/tmwa/beingrecv.cpp')
-rw-r--r-- | src/net/tmwa/beingrecv.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/net/tmwa/beingrecv.cpp b/src/net/tmwa/beingrecv.cpp index 65170e2a1..c47b3e2c7 100644 --- a/src/net/tmwa/beingrecv.cpp +++ b/src/net/tmwa/beingrecv.cpp @@ -66,20 +66,20 @@ static void setGm(Being *const dstBeing, { if (dstBeing != localPlayer) { - if ((gmstatus & 0x80) != 0) + if (gmstatus == 0x80) { dstBeing->setGroupId(paths.getIntValue("gmDefaultLevel")); dstBeing->setGM(true); } else { - dstBeing->setGroupId(0); - dstBeing->setGM(false); + dstBeing->setGroupId(gmstatus); + dstBeing->setGM(gmstatus != 0); } } else { - if ((gmstatus & 0x80) != 0) + if (gmstatus != 0) dstBeing->setGM(true); else dstBeing->setGM(false); |