Complete.Org: Mailing Lists: Archives: freeciv-dev: July 2006:
[Freeciv-Dev] Re: (PR#18574) [Patch] Remove xxx_carrier_capacity()
Home

[Freeciv-Dev] Re: (PR#18574) [Patch] Remove xxx_carrier_capacity()

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] Re: (PR#18574) [Patch] Remove xxx_carrier_capacity()
From: "Marko Lindqvist" <cazfi74@xxxxxxxxx>
Date: Sat, 15 Jul 2006 05:24:11 -0700
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=18574 >

Marko Lindqvist wrote:
> 
>   Only user of missile_carrier_capacity() and airunit_carrier_capacity() 
> is converted to use unit_class_transporter_capacity(). 
> xxx_carrier_capacity() functions are removed.

  unit_class_transporter_capacity() subtracts only loaded units from 
capacity. Planes flying at the same tile are ignored. 
xxx_carrier_capacity() subtracted also non-loaded units from capacity.
  This change might cause problems to aiair code. I have to investigate 
when I have time to look this patch again.


  - ML





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