fix broken seaserpent test

This commit is contained in:
Enno Rehling 2016-08-31 16:47:36 +02:00
parent 8a157de36c
commit 1eb0fd758a
1 changed files with 3 additions and 0 deletions

View File

@ -249,7 +249,10 @@ static void test_spawn_seaserpent(CuTest *tc) {
region *r;
unit *u;
faction *f;
race *rc;
test_cleanup();
rc = test_create_race("seaserpent");
rc->flags |= RCF_NPC;
r = test_create_region(0, 0, 0);
f = test_create_faction(0);
u = spawn_seaserpent(r, f);