diff options
author | Haru <haru@dotalux.com> | 2018-07-26 00:38:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-26 00:38:42 +0200 |
commit | 40f015d43eb87a6680b4ce53b1ca88c0dec641e3 (patch) | |
tree | d1259a0cd785b04bb8a4c9e917ecdaf0ce7324c3 /src/map/skill.c | |
parent | 67b1035c8fc0211dcbc9569c9de0ff4a774a69d7 (diff) | |
parent | 8d17f68be174a81e267f03fbca2b60302d1ee4d7 (diff) | |
download | hercules-40f015d43eb87a6680b4ce53b1ca88c0dec641e3.tar.gz hercules-40f015d43eb87a6680b4ce53b1ca88c0dec641e3.tar.bz2 hercules-40f015d43eb87a6680b4ce53b1ca88c0dec641e3.tar.xz hercules-40f015d43eb87a6680b4ce53b1ca88c0dec641e3.zip |
Merge pull request #2143 from dastgirp/plugin/unit_layout
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 524769873..745cdb7bc 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -19430,7 +19430,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) @@ -19531,7 +19531,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); |