summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
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 8844485fb..9dd1a6c6c 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -11206,7 +11206,7 @@ int skill_readdb (void)
else
skill_db[i].castcancel=0;
skill_db[i].cast_def_rate=atoi(split[10]);
- skill_db[i].inf2=atoi(split[11]);
+ skill_db[i].inf2=(int)strtol(split[11], NULL, 0);
skill_db[i].maxcount=atoi(split[12]);
if(strcmpi(split[13],"weapon") == 0)
skill_db[i].skill_type=BF_WEAPON;