diff options
author | Fate <fate-tmw@googlemail.com> | 2009-09-14 21:58:12 +0000 |
---|---|---|
committer | Fate <fate-tmw@googlemail.com> | 2009-09-14 21:58:12 +0000 |
commit | 1000c71d10076fcb51280d7bb90144e2570ba569 (patch) | |
tree | ed9d09de1c519162be1998eb1174e0ed55fd1b19 /src | |
parent | e02e6e25938e55b9b8c02bbc4e373ce0ec1a54d9 (diff) | |
download | tmwa-1000c71d10076fcb51280d7bb90144e2570ba569.tar.gz tmwa-1000c71d10076fcb51280d7bb90144e2570ba569.tar.bz2 tmwa-1000c71d10076fcb51280d7bb90144e2570ba569.tar.xz tmwa-1000c71d10076fcb51280d7bb90144e2570ba569.zip |
Only report characters as GMs to clients if their GM level is 60
Diffstat (limited to 'src')
-rw-r--r-- | src/map/clif.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/clif.c b/src/map/clif.c index b9dc90c..401f6cc 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -777,7 +777,7 @@ static int clif_set0078(struct map_session_data *sd, unsigned char *buf) { WBUFB(buf,45)=sd->sex; WBUFPOS(buf,46,sd->bl.x,sd->bl.y); WBUFB(buf,48)|=sd->dir&0x0f; - WBUFW(buf,49)=pc_isGM(sd) >= 60 ? 0x80 : 0; + WBUFW(buf,49)=pc_isGM(sd) == 60 ? 0x80 : 0; WBUFB(buf,51)=sd->state.dead_sit; WBUFW(buf,52)=((level = battle_get_lv(&sd->bl)) > battle_config.max_lv) ? battle_config.max_lv : level; @@ -850,7 +850,7 @@ static int clif_set007b(struct map_session_data *sd,unsigned char *buf) { WBUFB(buf,48)=sd->status.karma; WBUFB(buf,49)=sd->sex; WBUFPOS2(buf,50,sd->bl.x,sd->bl.y,sd->to_x,sd->to_y); - WBUFW(buf,55)=pc_isGM(sd) >= 60 ? 0x80 : 0; + WBUFW(buf,55)=pc_isGM(sd) == 60 ? 0x80 : 0; WBUFB(buf,57)=5; WBUFW(buf,58)=(sd->status.base_level>battle_config.max_lv)?battle_config.max_lv:sd->status.base_level; |