Re: [Freeciv-Dev] Questions about path-finding

2010-09-29 Thread Pepeto
I don't see how it can happen by an other way. Maybe the player is AI controlled? Le mercredi 29 septembre 2010 à 17:34 +0200, Andreas Røsdal a écrit : > > On Wed, 22 Sep 2010, Pepeto wrote: > >> I think that what happen is that the settlers are AI-controlled by the > >> server. You need to free t

Re: [Freeciv-Dev] Questions about path-finding

2010-09-29 Thread Andreas Røsdal
> On Wed, 22 Sep 2010, Pepeto wrote: >> I think that what happen is that the settlers are AI-controlled by the >> server. You need to free the ai data of the unit before calling >> free_unit_orders(). There are some examples, notably in > > Thanks a lot, I think this might solve my problems. > >> T

Re: [Freeciv-Dev] Questions about path-finding

2010-09-22 Thread Andreas Røsdal
On Wed, 22 Sep 2010, Pepeto wrote: > I think that what happen is that the settlers are AI-controlled by the > server. You need to free the ai data of the unit before calling > free_unit_orders(). There are some examples, notably in Thanks a lot, I think this might solve my problems. > There are n

Re: [Freeciv-Dev] Questions about path-finding

2010-09-22 Thread Pepeto
Hello Andreas, I think that what happen is that the settlers are AI-controlled by the server. You need to free the ai data of the unit before calling free_unit_orders(). There are some examples, notably in handle_unit_change_activity() (server/unithand.c): /* Remove city spot reservations for AI