prevent intermittent crash when region has mallorn:

This commit is contained in:
Enno Rehling 2017-12-28 00:05:13 +01:00
parent 4018850499
commit 48b33d31dd
1 changed files with 1 additions and 0 deletions

View File

@ -95,6 +95,7 @@ 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;