diff --git a/src/report.test.c b/src/report.test.c index 0bfea3c69..3c6a09ae1 100644 --- a/src/report.test.c +++ b/src/report.test.c @@ -96,7 +96,7 @@ static void test_report_region(CuTest *tc) { mstream_init(&out); r = test_create_region(0, 0, 0); add_resource(r, 1, 100, 10, rt_stone); - CuAssertIntEquals(tc, 135, r->resources->amount); + r->resources->amount = 135; CuAssertIntEquals(tc, 1, r->resources->level); r->land->peasants = 5; r->land->horses = 7;