summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authormalufett <malufett.eat.my.binaries@gmail.com>2015-03-24 23:36:09 +0800
committermalufett <malufett.eat.my.binaries@gmail.com>2015-03-24 23:36:09 +0800
commit1a693220f9337a14d6f74e17db880862d6dfa2f6 (patch)
tree330168ada83d33f43e68b22914b8c2b6be766b63 /src/map
parent6055837d5359f1345d4a42e714e2d0b96f588842 (diff)
downloadhercules-1a693220f9337a14d6f74e17db880862d6dfa2f6.tar.gz
hercules-1a693220f9337a14d6f74e17db880862d6dfa2f6.tar.bz2
hercules-1a693220f9337a14d6f74e17db880862d6dfa2f6.tar.xz
hercules-1a693220f9337a14d6f74e17db880862d6dfa2f6.zip
Fixed Bug#8587
-http://hercules.ws/board/tracker/issue-8587-hide-command-and-hiding-skill/?gopid=24786#entry24786 Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
Diffstat (limited to 'src/map')
-rw-r--r--src/map/clif.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 3ad3f0c76..22d259006 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -2976,6 +2976,9 @@ void clif_changelook(struct block_list *bl,int type,int val)
case LOOK_BASE:
if( !sd ) break;
+ if ( val == INVISIBLE_CLASS ) /* nothing to change look */
+ return;
+
if( sd->sc.option&OPTION_COSTUME )
vd->weapon = vd->shield = 0;