[Freeciv-Dev] (PR#15582) airlifting bug
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://bugs.freeciv.org/Ticket/Display.html?id=15582 >
> [jarol1 AT seznam.cz - Feb 16 10:00:29 2006]:
>
> Hi
> While programing a new warclient I stumbled upon a weird condition in
> unit.c > unit_can_airlift_to(); which causes a bug
> when server allows airlifting into cities without airports as long as
> the source city has an airport.
>
> The code is
> if (!punit->tile->city->airlift || !punit->tile->city->airlift) {
> return FALSE;
> }
>
> and should be
> if (!punit->tile->city->airlift || !pcity->airlift) {
> return FALSE;
> }
I suggest to apply fix to S2_1 (and S2_0/... ?) and think about possible
[/possibility] changing behavior in trunk.
--
Thanks, evyscr
|
|