URL:
<http://gna.org/bugs/?21147>
Summary: RPT_POSSIBLE not working for VUT_IMPROVEMENT
Project: Freeciv
Submitted by: cazfi
Submitted on: Wed 18 Sep 2013 02:12:56 AM EEST
Category: general
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:
count_buildings_in_range() is used to check if there's improvement of the
requested kind. Return value of zero is assumed to always mean that there's no
buildings. In reality it might be result of the fact that number of buildings
is not known (i.e., when result of the evaluation should be TRI_MAYBE).
Fix attached.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Wed 18 Sep 2013 02:12:56 AM EEST Name: ImprovementRPTPossible.patch
Size: 2kB By: cazfi
<http://gna.org/bugs/download.php?file_id=19038>
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?21147>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev