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

                 Summary: Ai caravan crash when destination max_routes 0
                 Project: Freeciv
            Submitted by: cazfi
            Submitted on: Sat 13 Oct 2012 09:16:57 AM EEST
                Category: ai
                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.5.0

    _______________________________________________________

Details:

one_city_trade_benefit() assumes that when ever there's no free traderoute
slots, there's old one to free. That's not true when max_routes simply is 0.

Fix attached.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sat 13 Oct 2012 09:16:57 AM EEST  Name: MaxRoutes0.patch  Size: 638B  
By: cazfi

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

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  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