From 0b3d15f4b3deb5f6d62df40ef9176eb28359f5fa Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sat, 4 Feb 2017 23:46:26 +0100 Subject: [PATCH] eliminate unused other_cost parameter. cost of other races is defined by their recruitcost. --- res/e3a/races.xml | 3 --- res/races/goblin-2.xml | 1 - res/races/goblin-3.xml | 1 - src/economy.c | 1 - 4 files changed, 6 deletions(-) diff --git a/res/e3a/races.xml b/res/e3a/races.xml index 4fcc76e4f..7e75f3fd4 100644 --- a/res/e3a/races.xml +++ b/res/e3a/races.xml @@ -36,7 +36,6 @@ - @@ -51,7 +50,6 @@ - @@ -80,7 +78,6 @@ - diff --git a/res/races/goblin-2.xml b/res/races/goblin-2.xml index ae90c1918..f8964d7c0 100644 --- a/res/races/goblin-2.xml +++ b/res/races/goblin-2.xml @@ -8,7 +8,6 @@ getitem="yes" equipment="yes" healing="2.0"> - diff --git a/res/races/goblin-3.xml b/res/races/goblin-3.xml index aa0c8fddb..4ad83967d 100644 --- a/res/races/goblin-3.xml +++ b/res/races/goblin-3.xml @@ -8,7 +8,6 @@ getitem="yes" equipment="yes" healing="2.0"> - diff --git a/src/economy.c b/src/economy.c index 16b201555..2d9fe6666 100644 --- a/src/economy.c +++ b/src/economy.c @@ -427,7 +427,6 @@ static int recruit_cost(const faction * f, const race * rc) } else if (valid_race(f, rc)) { return rc->recruitcost; - /* return get_param_int(f->race->parameters, "other_cost", -1); */ } return -1; }