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

                 Summary: can_unit_do_activity_targeted_at() fallback target
assignment uses wrong tgt tile
                 Project: Freeciv
            Submitted by: cazfi
            Submitted on: Mon 21 Jul 2014 12:30:56 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.6.0

    _______________________________________________________

Details:

can_unit_do_activity_targeted_at() has fallback functionality to determine the
target itself when (not-yet-fully-extras-ready) caller has not set any. It has
a bug that it determines the extra for the tile unit currently is at, not for
the target tile.

Fix attached.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Mon 21 Jul 2014 12:30:56 AM EEST  Name: TgtCheckTgtTile.patch  Size: 2kB
  By: cazfi

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

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  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