diff options
Diffstat (limited to 'src/map/skill.c')
-rw-r--r-- | src/map/skill.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index 8caaca02c..7f5843d55 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -2212,6 +2212,7 @@ int skill_castend_damage_id( struct block_list* src, struct block_list *bl,int s struct status_change *sc_data = status_get_sc_data(src); int i; + if(skillid < 0) return 0; if(skillid > 0 && skilllv <= 0) return 0; nullpo_retr(1, src); |