Summary: aisettler.c:food_starvation() seems to assume
hardcoded 2 food/citizen.
Submitted by: mss_8734
Submitted on: Thu May 30 14:29:47 2013
Severity: 3 - Normal
Priority: 5 - Normal
Assigned to: None
Discussion Lock: Any
Operating System: None
static bool food_starvation(const struct cityresult *result)
/* Avoid starvation: We must have enough food to grow. */
+ (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:
Message sent via/by Gna!
Freeciv-dev mailing list