From 9287d0c1b4cf2a9ac117947d19862e7cebf5c919 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Fri, 7 Oct 2016 22:06:47 +0200 Subject: [PATCH] unused function --- src/economy.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/economy.c b/src/economy.c index b17ef1cad..6ec5d9191 100644 --- a/src/economy.c +++ b/src/economy.c @@ -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;