From 1eb0fd758a6b31a444ea0707727485206cbea369 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Wed, 31 Aug 2016 16:47:36 +0200 Subject: [PATCH] fix broken seaserpent test --- src/monsters.test.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/monsters.test.c b/src/monsters.test.c index 5e4f7138a..a44a354d9 100644 --- a/src/monsters.test.c +++ b/src/monsters.test.c @@ -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);