diff options
-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); |