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

                 Summary: get_virtual_defense_power() assuming
"TerrainDefense"
                 Project: Freeciv
            Submitted by: cazfi
            Submitted on: Wed 06 Feb 2013 05:29:36 AM EET
                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.3.4, 2.4.0, 2.5.0

    _______________________________________________________

Details:

get_virtual_defense_power() always applies terrain defense bonuses, but they
should apply to only those unit classes that have "TerrainDefense" flag (land
units in classic rulesets).

Fix attached.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Wed 06 Feb 2013 05:29:36 AM EET  Name: VirtTerrainDefense.patch  Size:
883B   By: cazfi

<http://gna.org/bugs/download.php?file_id=17140>
-------------------------------------------------------
Date: Wed 06 Feb 2013 05:29:36 AM EET  Name: VirtTerrainDefense-S2_3.patch 
Size: 823B   By: cazfi

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

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  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