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

                 Summary: adv_settlers_road_bonus(): assert road tgt of other
units
                 Project: Freeciv
            Submitted by: cazfi
            Submitted on: Sat 08 Nov 2014 01:53:02 PM EET
                Category: ai
                Priority: 5 - Normal
                  Status: Ready For Test
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 2.6.0

    _______________________________________________________

Details:

I got crash with older version of trunk because adv_settlers_road_bonus() had
called extra_road_get() with NULL road.

I'm not opening bug about the crash itself, as it's probably been fixed by
target handling fixes since.
This patch just adds assert() to ease debugging similar problems in the
future.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sat 08 Nov 2014 01:53:02 PM EET  Name: RoadTargetAssert.patch  Size:
777B   By: cazfi

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

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to