[Freeciv-Dev] Re: (PR#11350) handle_city_short_info Does not use create_
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://rt.freeciv.org/Ticket/Display.html?id=11350 >
Benedict Adamson wrote:
> +
> + pcity->owner=packet->owner;
> + sz_strlcpy(pcity->name, packet->name);
>
> assert(pcity->id == packet->id);
> }
> -
> - pcity->owner=packet->owner;
> - pcity->tile = map_pos_to_tile(packet->x, packet->y);
> - sz_strlcpy(pcity->name, packet->name);
This looks wrong. Cities can change owners you know.
-jason
|
|