diff options
-rw-r--r-- | src/map/skill.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index cd7743789..918e15b2f 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -114,7 +114,7 @@ int skill_name2id(const char* name) if( name == NULL ) return 0; - return *(int*)strdb_get(skilldb_name2id, name); + return strdb_iget(skilldb_name2id, name); } /// Maps skill ids to skill db offsets. |