diff options
Diffstat (limited to 'src/map/skill-pools.cpp')
-rw-r--r-- | src/map/skill-pools.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/skill-pools.cpp b/src/map/skill-pools.cpp index 6ab6ea5..204036d 100644 --- a/src/map/skill-pools.cpp +++ b/src/map/skill-pools.cpp @@ -27,7 +27,7 @@ int skill_pool_skills[MAX_POOL_SKILLS]; int skill_pool_skills_size = 0; -extern void skill_pool_register (int id) +void skill_pool_register(int id) { if (skill_pool_skills_size + 1 >= MAX_POOL_SKILLS) { @@ -39,7 +39,7 @@ extern void skill_pool_register (int id) skill_pool_skills[skill_pool_skills_size++] = id; } -char *skill_name (int skill) +const char *skill_name (int skill) { if (skill > 0 && skill < MAX_SKILL_DB) return skill_names[skill].desc; |