summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-02-04 00:23:41 +0300
committerAndrei Karas <akaras@inbox.ru>2018-02-04 00:27:27 +0300
commit8a95ae140fc41fb008968b305d552002587dfc29 (patch)
treeb54cc1caddc7497728d0017efc590fec7f354087
parent799bf63466ea72d0fa3debf5db9fd4c06146b8f3 (diff)
downloadhercules-8a95ae140fc41fb008968b305d552002587dfc29.tar.gz
hercules-8a95ae140fc41fb008968b305d552002587dfc29.tar.bz2
hercules-8a95ae140fc41fb008968b305d552002587dfc29.tar.xz
hercules-8a95ae140fc41fb008968b305d552002587dfc29.zip
Send out of sight packet before hiding player.
-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