map-server: cleanup: skilldb_name2id declared in header not in source-file.

This commit is contained in:
Florian Wilkemeyer 2016-04-23 16:24:07 +02:00
parent 94840b1734
commit 80d4474bc7
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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