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

> I think there are places in the code where the client assumes it
> knows where foreign capitals are. Since it works this out via
> find_palace(), which iterates over the cities known to it
> looking for palaces, I think it can be inaccurate in the
> presence of fog-of-war.
>
> (I haven't tested either of these yet, so I could be wrong, but
> I couldn't see any special case in the code which would keep
> clients apprised of capital location regardless of FoW.)

I don't know how the client checks currently the capitals, but I can point to
you the client can know what is the capital of a player, even if the city is
fogged: player::wonders[improvement_index(palace)]) is the a city id.


    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message posté via/par Gna!
  http://gna.org/


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

Reply via email to