diff options
Diffstat (limited to 'src/map/skill.c')
-rw-r--r-- | src/map/skill.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index c948b0e7c..33368da97 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -4169,7 +4169,7 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in clif_skill_fail(sd,skillid,0,0); break; } - if(status_isimmune(bl) || !tsc->count) + if(status_isimmune(bl) || !tsc || !tsc->count) break; for(i=0;i<SC_MAX;i++){ if (!tsc->data[i]) |