summaryrefslogtreecommitdiff
path: root/src/map/skill.h
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-11-05 14:45:13 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-11-05 14:45:13 +0000
commit2f254cd153ba353488bb80eb3b217592e32c54cc (patch)
tree2a36d2cbd1704d80a65dce0e61758b98e4252e05 /src/map/skill.h
parentb37ff824d8160eb2cc8f45e435cfdb09cf7db077 (diff)
downloadhercules-2f254cd153ba353488bb80eb3b217592e32c54cc.tar.gz
hercules-2f254cd153ba353488bb80eb3b217592e32c54cc.tar.bz2
hercules-2f254cd153ba353488bb80eb3b217592e32c54cc.tar.xz
hercules-2f254cd153ba353488bb80eb3b217592e32c54cc.zip
Corrected the max. allowed skill name length, and optimized code that works with skill names according to latest changes.
Changed skill db loading code to work similarly to how itemdb/mobdb is loaded (generic file loader + specialized function to process rows). * all skill db files are now checked for inconsistencies the same way. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11659 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.h')
-rw-r--r--src/map/skill.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/skill.h b/src/map/skill.h
index c78607b36..5ddd5b27c 100644
--- a/src/map/skill.h
+++ b/src/map/skill.h
@@ -61,7 +61,7 @@
// スキルデ?タベ?ス
struct s_skill_db {
- char name[20];
+ char name[NAME_LENGTH];
char desc[40];
int range[MAX_SKILL_LEVEL],hit,inf,element[MAX_SKILL_LEVEL],nk,splash[MAX_SKILL_LEVEL],max;
int num[MAX_SKILL_LEVEL];