From eb7dd051f85b87355f6ea5214b3ff545a976dd55 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sat, 17 Sep 2016 15:31:04 +0200 Subject: [PATCH] fix bug 2237, respect lighthouse capacity. --- src/reports.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/reports.c b/src/reports.c index 183d6ce6c..101eb75e8 100644 --- a/src/reports.c +++ b/src/reports.c @@ -1317,7 +1317,7 @@ static void prepare_reports(void) for (u = r->units; u; u = u->next) { b = u->building; - if (b && b->type == bt_lighthouse) { + if (b && b->type == bt_lighthouse && inside_building(u)) { /* we are in a lighthouse. add the regions we can see from here! */ prepare_lighthouse(b, u->faction); }