URL:
<http://gna.org/bugs/?21423>
Summary: AI want uses uninitialised memory with
Alliance-ranged improvements
Project: Freeciv
Submitted by: jtn
Submitted on: Fri Jan 3 04:21:14 2014
Category: ai
Severity: 3 - Normal
Priority: 5 - Normal
Status: In Progress
Assigned to: jtn
Originator Email:
Open/Closed: Open
Release:
Discussion Lock: Any
Operating System: Any
Planned Release: 2.6.0
_______________________________________________________
Details:
adjust_improvement_wants_by_effects() has an array of numbers of cities
indexed by req_range, but the REQ_RANGE_ALLIANCE entry is never initialised.
This could presumably lead to the AI having a huge irrational desire for
Alliance-ranged effects (for those effects where want is scaled by number of
cities affected).
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?21423>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev