Adding null pointer check (followup to r13240).
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13243 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
53e6dfb7ad
commit
dc8edb6416
@ -2399,7 +2399,7 @@ void clif_changelook(struct block_list *bl,int type,int val)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// prevent leaking the presence of GM-hidden objects
|
// prevent leaking the presence of GM-hidden objects
|
||||||
if( sc->option&OPTION_INVISIBLE )
|
if( sc && sc->option&OPTION_INVISIBLE )
|
||||||
target = SELF;
|
target = SELF;
|
||||||
|
|
||||||
#if PACKETVER < 4
|
#if PACKETVER < 4
|
||||||
|
Loading…
x
Reference in New Issue
Block a user