diff options
author | panikon <panikon@zoho.com> | 2014-05-19 12:23:25 -0300 |
---|---|---|
committer | panikon <panikon@zoho.com> | 2014-05-19 12:23:25 -0300 |
commit | dfc1165e002487ba5fcb8945676381f1709ec469 (patch) | |
tree | dae0c6a571aca8ceb1bb4f3dcd8413d321ceb202 /src/map/skill.c | |
parent | 4b4e573b43f135d6cabc8d66b17610df6e96aecf (diff) | |
download | hercules-dfc1165e002487ba5fcb8945676381f1709ec469.tar.gz hercules-dfc1165e002487ba5fcb8945676381f1709ec469.tar.bz2 hercules-dfc1165e002487ba5fcb8945676381f1709ec469.tar.xz hercules-dfc1165e002487ba5fcb8945676381f1709ec469.zip |
Fixed issue 8201
http://hercules.ws/board/tracker/issue-8201-map-server-crash/
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 94bcd1d1b..6b64bb488 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -8122,7 +8122,7 @@ int skill_castend_nodamage_id(struct block_list *src, struct block_list *bl, uin if( dstsd && dstsd->special_state.no_magic_damage ) break; - if ( sd && sd->status.party_id == 0 ) + if ( sd == NULL || (sd && sd->status.party_id == 0 ) ) count = 1; else count = party->foreachsamemap(party->sub_count, sd, 0); |