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:
Message posté via/par Gna!
Freeciv-dev mailing list