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
         Discussion Lock: Any
        Operating System: None
         Planned Release: 2.3.5, 2.4.0, 2.5.0, 2.6.0



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



Reply to this item at:


  Message sent via/by Gna!

Freeciv-dev mailing list

Reply via email to