Follow-up Comment #1, bug #17433 (project freeciv):

My guess is that city_owner() is tripping over an "invisible city"
placeholder created on the client (see client/packhand.c:handle_tile_info())
when it saw a tile worked by a city ID it did not know about (quite likely
when conquering a city -- it's probably one of that city's unliberated
neighbours). This can happen when passing the city pointer tile_worked(ptile)
into city_owner(), as happens in find_city_or_settler_near_tile().

Haven't thought what the right fix would be.

    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?17433>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to