Re: [Freeciv-Dev] (PR#35641) Unit transport loading cleanup

2007-02-10 Thread Jason Dorje Short
http://bugs.freeciv.org/Ticket/Display.html?id=35641 > Per I. Mathisen wrote: > http://bugs.freeciv.org/Ticket/Display.html?id=35641 > > > This patch > * Removes the second parameter to find_transporter_for_unit(), which > is already known. > * Adds function could_unit_load() which checks if a

Re: [Freeciv-Dev] (PR#35641) Unit transport loading cleanup

2007-02-10 Thread Per Inge Mathisen
http://bugs.freeciv.org/Ticket/Display.html?id=35641 > On 2/10/07, Marko Lindqvist <[EMAIL PROTECTED]> wrote: > I think you cannot check for is_native_tile() in could_unit_load() > (this was probably bug already in find_transport_from_tile()) It means > that you cannot load to boat in coastal ci

Re: [Freeciv-Dev] (PR#35641) Unit transport loading cleanup

2007-02-10 Thread Marko Lindqvist
http://bugs.freeciv.org/Ticket/Display.html?id=35641 > On 2/10/07, Per I. Mathisen <[EMAIL PROTECTED]> wrote: > > This patch > * Removes the second parameter to find_transporter_for_unit(), which > is already known. > * Adds function could_unit_load() which checks if a given transporter > could

[Freeciv-Dev] (PR#35641) Unit transport loading cleanup

2007-02-10 Thread Per I. Mathisen
http://bugs.freeciv.org/Ticket/Display.html?id=35641 > This patch * Removes the second parameter to find_transporter_for_unit(), which is already known. * Adds function could_unit_load() which checks if a given transporter could add a unit as cargo, were it on the same tile. * Since find_trans