URL:
<http://gna.org/bugs/?20902>
Summary: Landlocked cities do not sell coastal improvements
Project: Freeciv
Submitted by: cazfi
Submitted on: Sat 15 Jun 2013 12:47:16 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.5, 2.4.0, 2.5.0, 2.6.0
_______________________________________________________
Details:
The whole hardcoded behavior that improvements should be sold iff terrain
change results in ocean turning to land and improvement having ocean as
requirement should be replaced with more generic one. It doesn't work even the
other way - ocean city losing contact to land does not automatically sell land
requiring improvements.
Still, current hardcoded special case is important for most rulesets, so at
least it should work. But it doesn't with current rulesets. Only requirements
of type VUT_TERRAIN are checked, when rulesets actually define
VUT_TERRAINCLASS requirements.
Fix attached.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Sat 15 Jun 2013 12:47:16 AM EEST Name: LandlockedClassReq.patch Size:
798B By: cazfi
<http://gna.org/bugs/download.php?file_id=18086>
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?20902>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev