URL:
  <http://gna.org/patch/?3265>

                 Summary: get_infrastructure_text() to get roads from vector,
not compat specials
                 Project: Freeciv
            Submitted by: cazfi
            Submitted on: Thu 19 Apr 2012 02:22:27 AM EEST
                Category: general
                Priority: 5 - Normal
                  Status: Ready For Test
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 2.5.0

    _______________________________________________________

Details:

Now that tile roads vectors should always have correct information it's time
to start checking existence of roads from it instead of checking from compat
specials. Attached patch does that for get_infrastructure_text().
This actually fixes minor bug - check from specials had hardcoded assumption
that Railroad always hides Roads, and Road never hides Railroad. Now this
respects ruleset defined "hidden_by" definitions.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Thu 19 Apr 2012 02:22:27 AM EEST  Name: HiddenRoadInfraText.diff  Size:
1kB   By: cazfi

<http://gna.org/patch/download.php?file_id=15599>

    _______________________________________________________

Reply to this item at:

  <http://gna.org/patch/?3265>

_______________________________________________
  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