[Freeciv-Dev] Re: Recalculating movement after unit gets damaged
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Thu, 3 Oct 2002, Thomas Strub wrote:
> I looked at the code ... that only affects sea-units. I changed it so
> attacking and defending units have the same effect when getting
> attacked.
>
> There is no effect on land units.
I really dislike how it's done (that means I dislike the existing code
too). I feel there is no need to copy and keep the whole unit struct if
all you need is just def_moves_used and att_moves_used. Why not compute
only those before the fighting occurs?
G.
|
|