URL:
  <http://gna.org/bugs/?19449>

                 Summary: Aisettlers reserving tile already reserved for
another city center as place for first worker
                 Project: Freeciv
            Submitted by: cazfi
            Submitted on: Wed 15 Feb 2012 12:33:43 AM EET
                Category: ai
                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.0, 2.5.0

    _______________________________________________________

Details:

When aisettler searches best tile for first worker of city it considers to
build, already reserved tiles are assigned goodness of 0. If no tile at all
gets positive goodness, such an tile can still be considered best one, and
aisettler tries to reserve it.

Attached fix assigns value of -1 for tiles reserved for city centers, and no
tile at all is reserved as first one to be worked if there's only tiles with
negative goodness.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Wed 15 Feb 2012 12:33:43 AM EET  Name: ReservedBestOtherCitytile.diff 
Size: 908B   By: cazfi

<http://gna.org/bugs/download.php?file_id=15050>

    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?19449>

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


_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to