forked from github/server
fix broken seaserpent test
This commit is contained in:
parent
8a157de36c
commit
1eb0fd758a
|
@ -249,7 +249,10 @@ static void test_spawn_seaserpent(CuTest *tc) {
|
||||||
region *r;
|
region *r;
|
||||||
unit *u;
|
unit *u;
|
||||||
faction *f;
|
faction *f;
|
||||||
|
race *rc;
|
||||||
test_cleanup();
|
test_cleanup();
|
||||||
|
rc = test_create_race("seaserpent");
|
||||||
|
rc->flags |= RCF_NPC;
|
||||||
r = test_create_region(0, 0, 0);
|
r = test_create_region(0, 0, 0);
|
||||||
f = test_create_faction(0);
|
f = test_create_faction(0);
|
||||||
u = spawn_seaserpent(r, f);
|
u = spawn_seaserpent(r, f);
|
||||||
|
|
Loading…
Reference in New Issue