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

                 Summary: Bugs in undisbandable unit drowning
                 Project: Freeciv
            Submitted by: cazfi
            Submitted on: Mon 01 Apr 2013 04:20:51 PM 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.4.0, 2.5.0

    _______________________________________________________

Details:

While hunting another drowning bug, noticed a problem in undisbandable unit
saving block.

Even after undisbandable unit has been saved by teleporting it, it gets added
to "remain" list of units to handle later. This can have many kind of ill
effects since it also means that "drowning" counter is inconsistent with
contents of "remain"

Fix attached.

Also: pcity was declared in outer block which didn't need it. Set its
visibility to inner block only.




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Mon 01 Apr 2013 04:20:51 PM EEST  Name: UndisbandDrowning.patch  Size:
2kB   By: cazfi

<http://gna.org/bugs/download.php?file_id=17646>
-------------------------------------------------------
Date: Mon 01 Apr 2013 04:20:51 PM EEST  Name: UndisbandDrowning-S2_4.patch 
Size: 2kB   By: cazfi

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

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  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