summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2020-06-03 22:51:20 +0200
committerGitHub <noreply@github.com>2020-06-03 22:51:20 +0200
commit789d7620b25220f842ea71264e6f992a8222cb4f (patch)
treecfec2aed893835d14cc23c835a93c8bf33c5b06c /src/map/skill.c
parent3635ef96887de748ac053e1ebd51f0deed7f9b6c (diff)
parent147a491a8c57a2d33b5a65b310b5b948e873db10 (diff)
downloadhercules-789d7620b25220f842ea71264e6f992a8222cb4f.tar.gz
hercules-789d7620b25220f842ea71264e6f992a8222cb4f.tar.bz2
hercules-789d7620b25220f842ea71264e6f992a8222cb4f.tar.xz
hercules-789d7620b25220f842ea71264e6f992a8222cb4f.zip
Merge pull request #2761 from Kenpachi2k13/skill_fix
Fix wrong usage of unit skill data and default skill damage type to NK_NONE
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 25d10b825..24fbe7892 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -21208,9 +21208,6 @@ static void skill_validate_damagetype(struct config_setting_t *conf, struct s_sk
}
}
}
-
- if (sk->nk == NK_NONE)
- sk->nk = NK_NO_DAMAGE;
}
/**