map-server: cleanup: skilldb_name2id declared in header not in source-file.
This commit is contained in:
parent
94840b1734
commit
80d4474bc7
@ -57,7 +57,7 @@
|
|||||||
#error GD_SKILLRANGEMAX is greater than 999
|
#error GD_SKILLRANGEMAX is greater than 999
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
DBMap* skilldb_name2id = NULL;
|
||||||
static DBMap *skilldb_id2idx; /// Skill ID to Index lookup: skill_index = skill_get_index(skill_id)
|
static DBMap *skilldb_id2idx; /// Skill ID to Index lookup: skill_index = skill_get_index(skill_id)
|
||||||
struct s_skill_db **skill_db; /// Skill DB
|
struct s_skill_db **skill_db; /// Skill DB
|
||||||
static uint16 skill_num; /// Skill count, also as last index
|
static uint16 skill_num; /// Skill count, also as last index
|
||||||
|
@ -26,7 +26,7 @@ struct status_change_entry;
|
|||||||
#define SKILL_NAME_LENGTH 31 /// Max Skill Name length
|
#define SKILL_NAME_LENGTH 31 /// Max Skill Name length
|
||||||
#define SKILL_DESC_LENGTH 31 /// Max Skill Desc length
|
#define SKILL_DESC_LENGTH 31 /// Max Skill Desc length
|
||||||
|
|
||||||
DBMap* skilldb_name2id;
|
extern DBMap* skilldb_name2id;
|
||||||
|
|
||||||
/// Constants to identify a skill's nk value (damage properties)
|
/// Constants to identify a skill's nk value (damage properties)
|
||||||
/// The NK value applies only to non INF_GROUND_SKILL skills
|
/// The NK value applies only to non INF_GROUND_SKILL skills
|
||||||
|
Loading…
x
Reference in New Issue
Block a user