Complete.Org: Mailing Lists: Archives: freeciv-dev: October 2004:
[Freeciv-Dev] (PR#10557) unit with orders being taken over by the AI
Home

[Freeciv-Dev] (PR#10557) unit with orders being taken over by the AI

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] (PR#10557) unit with orders being taken over by the AI
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 16 Oct 2004 10:54:40 -0700
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=10557 >

See http://pubserver.freeciv.org/games/341709/.  The unit has orders but 
is taken over by the AI and put into goto mode.  So the assertion at 
gotohand.c:1294 fails.  (Reinier says the pubserver crash reporter was 
broken and didn't report this one.)

Perhaps for the stable branch we should change this assertion into a 
free_unit_orders() call.  To fix it we need to find out where the AI 
takes over the unit and make sure to either free the orders there, or 
don't let the AI take over a unit with orders (not sure which).

jason




[Prev in Thread] Current Thread [Next in Thread]