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

                 Summary: wakeup_neighbor_sentries() has buggy
"alone_in_city" detection
                 Project: Freeciv
            Submitted by: cazfi
            Submitted on: Wed 20 Jul 2011 06:25:38 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.2.8, 2.3.1, 2.4.0

    _______________________________________________________

Details:

In wakeup_neighbor_sentries() there is iteration over units in tile to count
number of units not transported. However, transportation status is always
checked from same unit (one waking neighbors) and not the iterator.
Fix attached.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Wed 20 Jul 2011 06:25:38 AM EEST  Name: AloneWaker.diff  Size: 485B  
By: cazfi

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

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  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