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: Sun, 16 Jul 2006 12:08:24 -0700
Reply-to: bugs@xxxxxxxxxxx

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

Marko Lindqvist wrote:
> 
> 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.

  It seems that new unit_class_transporter_capacity() behavior is what 
is expected, and things should have been that way all along. In fact, 
xxx_carrier_capacity() functions must be changed in S2_1 (and possibly 
in S2_0)


  - ML





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