From 8a95ae140fc41fb008968b305d552002587dfc29 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 4 Feb 2018 00:23:41 +0300 Subject: Send out of sight packet before hiding player. --- src/map/atcommand.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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 -- cgit v1.2.3-60-g2f50