unused function

This commit is contained in:
Enno Rehling 2016-10-07 22:06:47 +02:00
parent 38721e2046
commit 9287d0c1b4
1 changed files with 0 additions and 9 deletions

View File

@ -180,15 +180,6 @@ static void expandorders(region * r, request * requests)
/* ------------------------------------------------------------- */
static void change_level(unit * u, skill_t sk, int bylevel)
{
skill *sv = unit_skill(u, sk);
assert(bylevel > 0);
if (sv == 0)
sv = add_skill(u, sk);
sk_set(sv, sv->level + bylevel);
}
typedef struct recruitment {
struct recruitment *next;
faction *f;