diff --git a/src/report.test.c b/src/report.test.c index 141c52996..bc8141da1 100644 --- a/src/report.test.c +++ b/src/report.test.c @@ -95,7 +95,6 @@ static void test_report_region(CuTest *tc) { mstream_init(&out); r = test_create_region(0, 0, 0); - r->flags &= ~RF_MALLORN; add_resource(r, 1, 135, 10, rt_stone); CuAssertIntEquals(tc, 1, r->resources->level); r->land->peasants = 5; diff --git a/src/tests.c b/src/tests.c index e254f0b2e..eb4413e7d 100644 --- a/src/tests.c +++ b/src/tests.c @@ -63,6 +63,7 @@ struct region *test_create_region(int x, int y, const terrain_type *terrain) else { terraform_region(r, terrain); } + r->flags &= ~RF_MALLORN; rsettrees(r, 0, 0); rsettrees(r, 1, 0); rsettrees(r, 2, 0);