diff options
-rw-r--r-- | src/map/clif.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/clif.c b/src/map/clif.c index 6036cd132..140c8b158 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -2399,7 +2399,7 @@ void clif_changelook(struct block_list *bl,int type,int val) } // prevent leaking the presence of GM-hidden objects - if( sc->option&OPTION_INVISIBLE ) + if( sc && sc->option&OPTION_INVISIBLE ) target = SELF; #if PACKETVER < 4 |