summaryrefslogtreecommitdiff
path: root/src/map/atcommand.c
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2018-02-03 23:40:57 +0100
committerGitHub <noreply@github.com>2018-02-03 23:40:57 +0100
commita928f009f5a7bad77eda090ec7af551c2f647d5b (patch)
treeb54cc1caddc7497728d0017efc590fec7f354087 /src/map/atcommand.c
parent6542b3dc2da7f5a450abcc9d5c71af4a66e15963 (diff)
parent8a95ae140fc41fb008968b305d552002587dfc29 (diff)
downloadhercules-a928f009f5a7bad77eda090ec7af551c2f647d5b.tar.gz
hercules-a928f009f5a7bad77eda090ec7af551c2f647d5b.tar.bz2
hercules-a928f009f5a7bad77eda090ec7af551c2f647d5b.tar.xz
hercules-a928f009f5a7bad77eda090ec7af551c2f647d5b.zip
Merge pull request #1200 from 4144/hidefix
Hide area packets from hidden players/gms.
Diffstat (limited to 'src/map/atcommand.c')
-rw-r--r--src/map/atcommand.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c
index aa25f11d6..c2c29d51d 100644
--- a/src/map/atcommand.c
+++ b/src/map/atcommand.c
@@ -950,6 +950,7 @@ ACMD(hide) {
//bugreport:2266
map->foreachinmovearea(clif->insight, &sd->bl, AREA_SIZE, sd->bl.x, sd->bl.y, BL_ALL, &sd->bl);
} else {
+ clif->clearunit_area(&sd->bl, CLR_OUTSIGHT);
sd->sc.option |= OPTION_INVISIBLE;
sd->vd.class = INVISIBLE_CLASS;
clif->message(fd, msg_fd(fd,11)); // Invisible: On