URL:
<http://gna.org/bugs/?18514>
Summary: Too strict sanity check for multiple terrain / base
/ special requirements
Project: Freeciv
Submitted by: cazfi
Submitted on: Wed 17 Aug 2011 12:22:06 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.3.1, 2.4.0
_______________________________________________________
Details:
Sanity checks for multiple terrain / base / special requirements catch false
positives.
- Check for max_tiles should be disabled with value -1 (currently always in
use), but check was erronously against 1. This resulted sanity check to always
fail when there was at least 2 requirements of the same type
- Limiting number of base and special requirements to number of tiles in
range is wrong as same tile can have multiple bases or specials
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Wed 17 Aug 2011 12:22:06 AM EEST Name: MultipleSameTypeReqs.diff
Size: 943B By: cazfi
<http://gna.org/bugs/download.php?file_id=13901>
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?18514>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev