summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-04-29 00:17:07 +0300
committerAndrei Karas <akaras@inbox.ru>2016-04-29 01:48:09 +0300
commit35ea27078d1cd7a04deb9c2b1fc4c928466699f3 (patch)
treecbe7489f41479c997541dcb30a4a8ba1c7990abf /src/map/skill.c
parent27b7d38e40938681b02c27ea75c127394a278e6e (diff)
downloadhercules-35ea27078d1cd7a04deb9c2b1fc4c928466699f3.tar.gz
hercules-35ea27078d1cd7a04deb9c2b1fc4c928466699f3.tar.bz2
hercules-35ea27078d1cd7a04deb9c2b1fc4c928466699f3.tar.xz
hercules-35ea27078d1cd7a04deb9c2b1fc4c928466699f3.zip
Fix issues found by new warnings.
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 d3cb8d0be..3004bf0e9 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -9280,7 +9280,7 @@ int skill_castend_nodamage_id(struct block_list *src, struct block_list *bl, uin
improv_skill_lv = 4 + skill_lv;
clif->skill_nodamage (src, bl, skill_id, skill_lv, 1);
- if (sd == NULL) {
+ if (sd != NULL) {
sd->state.abra_flag = 2;
sd->skillitem = improv_skill_id;
sd->skillitemlv = improv_skill_lv;