don't use test_create_world

This commit is contained in:
Enno Rehling 2015-11-07 18:47:55 +01:00
parent 7ef18b1533
commit e8a42b20dd
1 changed files with 1 additions and 2 deletions

View File

@ -27,13 +27,12 @@ static void test_flyingship(CuTest * tc)
ship *sh1, *sh2; ship *sh1, *sh2;
test_cleanup(); test_cleanup();
test_create_world();
par.param = &par_data_ptr; par.param = &par_data_ptr;
par_data.typ = SPP_SHIP; par_data.typ = SPP_SHIP;
par_data.flag = 0; par_data.flag = 0;
r = findregion(0, 0); r = test_create_region(0, 0, 0);
f = test_create_faction(test_create_race("human")); f = test_create_faction(test_create_race("human"));
u = test_create_unit(f, r); u = test_create_unit(f, r);