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

                 Summary: Drop map_move_cost_ai()
                 Project: Freeciv
            Submitted by: persia
            Submitted on: Mon 22 Apr 2013 09:26:18 AM JST
                Category: general
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 

    _______________________________________________________

Details:

    This function checked for moves involving sea tiles, but otherwise behaved
precisely like map_move_cost().  The only remaining caller
(aiferry.c:combined_land_sea_move()) contains parallel logic ensuring that
map_move_cost_ai was never called with either source or destination as an
ocean tile.  As a result, it is safe for combined_land_sea_move() to call
map_move_cost() directly, so this function may be removed.




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Mon 22 Apr 2013 09:26:18 AM JST  Name: drop-map_move_cost_ai.patch 
Size: 4kB   By: persia

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

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  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