From 7f57aa2a18faeaeff0a249d101977695c665e245 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sun, 27 Oct 2019 10:57:32 +0100 Subject: [PATCH] small copy/paste error --- src/kernel/ship.test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kernel/ship.test.c b/src/kernel/ship.test.c index ddc0d7795..174762182 100644 --- a/src/kernel/ship.test.c +++ b/src/kernel/ship.test.c @@ -52,7 +52,7 @@ static void test_ship_crewed(CuTest * tc) CuAssertTrue(tc, ship_crewed(sh)); u2 = test_create_unit(f, r); set_level(u1, SK_SAILING, 2); - set_level(u1, SK_SAILING, 2); + set_level(u2, SK_SAILING, 2); u_set_ship(u2, sh); CuAssertTrue(tc, ship_crewed(sh)); set_level(u1, SK_SAILING, 1);