diff options
author | greenboxal2 <greenboxal2@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-05-06 21:58:15 +0000 |
---|---|---|
committer | greenboxal2 <greenboxal2@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-05-06 21:58:15 +0000 |
commit | 78dd9d3e2c08e1291c3245f9aa25a4c10d7632e4 (patch) | |
tree | ad5edde72abe1c4b99beff184f78a4851c75c793 /src | |
parent | eed57bf3368a01b0d8ac30ceaf788c168f6b763d (diff) | |
download | hercules-78dd9d3e2c08e1291c3245f9aa25a4c10d7632e4.tar.gz hercules-78dd9d3e2c08e1291c3245f9aa25a4c10d7632e4.tar.bz2 hercules-78dd9d3e2c08e1291c3245f9aa25a4c10d7632e4.tar.xz hercules-78dd9d3e2c08e1291c3245f9aa25a4c10d7632e4.zip |
Fixed bugreport:5698 Missing null pointer check on NC_MAGNETICFIELD.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16083 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-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 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; |