From f3a49f36d367b7b67152b0e67526768881dd47fd Mon Sep 17 00:00:00 2001 From: Jared Adams Date: Fri, 24 Apr 2009 06:38:53 -0600 Subject: Don't send looks packets when invisible --- src/map/clif.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/map/clif.c') diff --git a/src/map/clif.c b/src/map/clif.c index c68841d..25ce1d4 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -2322,6 +2322,9 @@ int clif_changelook_towards(struct block_list *bl,int type,int val, struct map_s if(sd && sd->disguise > 23 && sd->disguise < 4001) // mob disguises [Valaris] return 0; + if (sd && sd->status.option & OPTION_INVISIBILITY) + return 0; + if(sd && (type == LOOK_WEAPON || type == LOOK_SHIELD || type >= LOOK_SHOES)) { WBUFW(buf,0)=0x1d7; WBUFL(buf,2)=bl->id; -- cgit v1.2.3-60-g2f50