diff options
Diffstat (limited to 'src/map/script.c')
-rw-r--r-- | src/map/script.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/script.c b/src/map/script.c index c65ce5c24..ce312e894 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -10152,7 +10152,7 @@ BUILDIN_FUNC(homunculus_mutate) TBL_PC *sd; sd = script_rid2sd(st); - if( sd == NULL ) + if( sd == NULL || sd->hd == NULL ) return 0; if(script_hasdata(st,2)) |