URL:
http://gna.org/bugs/?21240
Summary: AI thinking city has Size Unlimit when it has not
Project: Freeciv
Submitted by: cazfi
Submitted on: Wed 30 Oct 2013 12:22:21 PM EET
Category: ai
Severity: 3 - Normal
Priority: 5 - Normal
Status: Ready For Test
Assigned to: None
Originator Email:
Open/Closed: Open
Release:
Discussion Lock: Any
Operating System: None
Planned Release: 2.4.1, 2.5.0, 2.6.0
___
Details:
AI checks if city already has size unlimited by comparing effect value == 0.
In custom rulesets with only disabling effects active (without prior enabling
effect) value can be 0. In such a case AI would not build size adj or size
unlimit buildings at all.
Fix attached. Also don't consider Size Unlimit disabling effects positive
thing (equal to enabling effects)
___
File Attachments:
---
Date: Wed 30 Oct 2013 12:22:21 PM EET Name: SizeUnlimitFix.patch Size: 1kB
By: cazfi
http://gna.org/bugs/download.php?file_id=19292
___
Reply to this item at:
http://gna.org/bugs/?21240
___
Message sent via/by Gna!
http://gna.org/
___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev