update test for lighthouse visibility

This commit is contained in:
Enno Rehling 2020-08-04 19:10:05 +02:00
parent 7cedc4c9dd
commit 90511b434c
1 changed files with 1 additions and 1 deletions

View File

@ -871,7 +871,7 @@ static void test_visible_unit(CuTest *tc) {
CuAssertTrue(tc, !visible_unit(u, f, 0, seen_lighthouse_land));
CuAssertTrue(tc, visible_unit(u, f, 0, seen_lighthouse));
CuAssertTrue(tc, !visible_unit(u, f, -2, seen_lighthouse));
CuAssertTrue(tc, visible_unit(u, f, -2, seen_lighthouse));
u->ship = sh = test_create_ship(u->region, NULL);
CuAssertTrue(tc, visible_unit(u, f, -2, seen_travel));