summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index eed7dd1c6..7c1d53f0b 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -7796,7 +7796,7 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in
{
map_foreachinrange(skill_area_sub,src,skill_get_splash(skillid,skilllv),splash_target(src),src,skillid,skilllv,tick,flag|BCT_ENEMY|SD_SPLASH|1,skill_castend_damage_id);;
clif_skill_damage(src,src,tick,status_get_amotion(src),0,-30000,1,skillid,skilllv,6);
- pc_overheat(sd,1);
+ if (sd) pc_overheat(sd,1);
}
clif_skill_nodamage(src,src,skillid,skilllv,i);
break;