diff options
author | Dastgir <dastgirp@gmail.com> | 2018-07-24 15:55:02 +0530 |
---|---|---|
committer | Dastgir <dastgirp@gmail.com> | 2018-07-24 16:00:10 +0530 |
commit | df54beba984acf132fd120f0eb0b6f645fdb0325 (patch) | |
tree | 8199505f7a568b70e37ae5abf10e362a59f84d93 /src/map/skill.c | |
parent | 504ad2ca7d6ef4923093f74ac2afd5fc1bd39fd1 (diff) | |
download | hercules-df54beba984acf132fd120f0eb0b6f645fdb0325.tar.gz hercules-df54beba984acf132fd120f0eb0b6f645fdb0325.tar.bz2 hercules-df54beba984acf132fd120f0eb0b6f645fdb0325.tar.xz hercules-df54beba984acf132fd120f0eb0b6f645fdb0325.zip |
Added missing parameter to init_unit_layout_unknown
Diffstat (limited to 'src/map/skill.c')
-rw-r--r-- | src/map/skill.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index ed69b8c0f..70cffdda4 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -19427,7 +19427,7 @@ static void skill_init_unit_layout(void) } break; default: - skill->init_unit_layout_unknown(i); + skill->init_unit_layout_unknown(i, pos); break; } if (!skill->dbs->unit_layout[pos].count) @@ -19528,7 +19528,7 @@ static void skill_init_unit_layout(void) } -static void skill_init_unit_layout_unknown(int skill_idx) +static void skill_init_unit_layout_unknown(int skill_idx, int pos) { Assert_retv(skill_idx >= 0 && skill_idx < MAX_SKILL_DB); ShowError("unknown unit layout at skill %d\n", skill->dbs->db[skill_idx].nameid); |