URL: <http://gna.org/bugs/?20856>
Summary: aisettler.c:food_starvation() seems to assume hardcoded 2 food/citizen. Project: Freeciv Submitted by: mss_8734 Submitted on: Thu May 30 14:29:47 2013 Category: ai Severity: 3 - Normal Priority: 5 - Normal Status: None Assigned to: None Originator Email: Open/Closed: Open Release: Discussion Lock: Any Operating System: None Planned Release: _______________________________________________________ Details: static bool food_starvation(const struct cityresult *result) { /* Avoid starvation: We must have enough food to grow. */ return (result->city_center.tdc->food + (result->best_other.tdc ? result->best_other.tdc->food : 0) < 3); } Am I reading this function and its use completely wrong or ought that rely on the ruleset defined food cost for citizen upkeep? _______________________________________________________ Reply to this item at: <http://gna.org/bugs/?20856> _______________________________________________ Message sent via/by Gna! http://gna.org/ _______________________________________________ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev