[Freeciv-Dev] (PR#8389) refuel_air_units_from_carriers is awful
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: |
undisclosed-recipients: ; |
Subject: |
[Freeciv-Dev] (PR#8389) refuel_air_units_from_carriers is awful |
From: |
"Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx> |
Date: |
Fri, 26 Mar 2004 09:57:52 -0800 |
Reply-to: |
rt@xxxxxxxxxxx |
<URL: http://rt.freeciv.org/Ticket/Display.html?id=8389 >
> [jdorje - Fri Mar 26 03:41:07 2004]:
>
> This function follows the old assign_units_to_transporter paradigm. It
> should be rewritten to be much smaller. And it should only refuel units
> that are actually being transported.
IMO the new invariant should be: all units that are transported at the
end of a turn are refueled.
However this isn't so good unless the player can see exactly which units
are transported. So we may need some other cleanups first.
jason
|
|