Re: [Freeciv-Dev] (PR#40208) New orders to AI settler on citybuild mission crashes game

2008-04-21 Thread Marko Lindqvist
URL: http://bugs.freeciv.org/Ticket/Display.html?id=40208 On 21/04/2008, Marko Lindqvist wrote: Goto tile will be set to NULL, but ai_unit_new_role() later attempts to access it in order to cancel city build mission. Attached patch fixes all similar crashes and some related non-crash

Re: [Freeciv-Dev] (PR#40208) New orders to AI settler on citybuild mission crashes game

2008-04-21 Thread Marko Lindqvist
URL: http://bugs.freeciv.org/Ticket/Display.html?id=40208 On 21/04/2008, Marko Lindqvist wrote: On 21/04/2008, Marko Lindqvist wrote: Goto tile will be set to NULL, but ai_unit_new_role() later attempts to access it in order to cancel city build mission. Attached patch fixes

[Freeciv-Dev] (PR#40208) New orders to AI settler on citybuild mission crashes game

2008-04-20 Thread Marko Lindqvist
URL: http://bugs.freeciv.org/Ticket/Display.html?id=40208 First investigated as 2.1.3 server crash, reproducible with current S2_1: - /take AI player who has settlers on city build mission - Give new goto-command to settler Goto tile will be set to NULL, but ai_unit_new_role() later