summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgumi <git@gumi.ca>2020-04-25 18:27:36 -0400
committergumi <git@gumi.ca>2020-04-25 18:27:36 -0400
commit17221278d8a4fd2877c89aea93a76bdc2603357a (patch)
tree8f31d94fb38da9f43655a8f51081289b1651faa4
parent1f2cdf0efd7543b50fcd6e04df495e82e860d6de (diff)
downloadevol-hercules-17221278d8a4fd2877c89aea93a76bdc2603357a.tar.gz
evol-hercules-17221278d8a4fd2877c89aea93a76bdc2603357a.tar.bz2
evol-hercules-17221278d8a4fd2877c89aea93a76bdc2603357a.tar.xz
evol-hercules-17221278d8a4fd2877c89aea93a76bdc2603357a.zip
fix a wrong bitwise operations that made everyone appear as GM
-rw-r--r--src/emap/map.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emap/map.c b/src/emap/map.c
index ad5033e..1c60e8b 100644
--- a/src/emap/map.c
+++ b/src/emap/map.c
@@ -156,7 +156,7 @@ void emap_online_list(int fd)
if (pc_has_permission(sd, permission_send_gm_flag))
state |= BEINGFLAG_GM;
else
- state ^= BEINGFLAG_GM;
+ state &= ~BEINGFLAG_GM;
*ptr = state;
ptr ++;