forked from github/server
prevent this mallorn problem for all future tests, too.
This commit is contained in:
parent
48b33d31dd
commit
3c16267246
|
@ -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;
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue