From 28aca61d0f710a526f51ee98c6094bc10d222c5c Mon Sep 17 00:00:00 2001 From: Markus Koschany Date: Tue, 31 Dec 2013 13:40:46 +0100 Subject: [PATCH] Fix production bug in objects.c. Instead of city the pointer should be called cityp here. Otherwise a single city will stop producing output if this condition is true. --- object.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/object.c b/object.c index 5a88e5a..4f44ee0 100644 --- a/object.c +++ b/object.c @@ -605,7 +605,7 @@ set_prod(city_info_t *cityp) else { cityp->prod = i; - city->work = -(piece_attr[i].build_time / 5); + cityp->work = -(piece_attr[i].build_time / 5); return; } } -- 2.43.0