fix merge conflict in PR #397 (config changes)

This commit is contained in:
Enno Rehling 2015-11-26 18:48:21 +01:00
parent 6ad5db8e22
commit 950bf91850
2 changed files with 2 additions and 2 deletions

View File

@ -2955,7 +2955,7 @@ void tax_cmd(unit * u, struct order *ord, request ** taxorders)
static int taxperlevel = 0;
if (!taxperlevel) {
taxperlevel = get_param_int(global.parameters, "taxing.perlevel", 0);
taxperlevel = config_get_int("taxing.perlevel", 0);
}
kwd = init_order(ord);

View File

@ -192,7 +192,7 @@ static void test_tax_cmd(CuTest *tc) {
test_cleanup();
set_param(&global.parameters, "taxing.perlevel", "20");
config_set("taxing.perlevel", "20");
test_create_world();
f = test_create_faction(NULL);
r = findregion(0, 0);