URL:
  <http://gna.org/patch/?6913>

                 Summary: Caravan destination search to not iterate cities of
no-go players at all
                 Project: Freeciv
            Submitted by: cazfi
            Submitted on: Fri 05 Feb 2016 01:56:33 PM EET
                Category: general
                Priority: 5 - Normal
                  Status: Ready For Test
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 2.6.0, 3.0.0

    _______________________________________________________

Details:

Currently caravan destination search goes through all the cities in the world,
and checks if the city owner is one to trade with in handling of the city. The
iteration over all the cities of the world is actually iteration of player's
cities inside iteration of all players.
Attached patch makes it not to even iterate through cities of those players
who are not eligible.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Fri 05 Feb 2016 01:56:33 PM EET  Name:
CaravanEarlyForeignAllowedCheck.patch  Size: 7kB   By: cazfi

<http://gna.org/patch/download.php?file_id=26601>

    _______________________________________________________

Reply to this item at:

  <http://gna.org/patch/?6913>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to