[Freeciv-Dev] Re: (PR#2730) Allied victory isn't looking at aliveness
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Sun, 5 Jan 2003, Gregory Berkolaiko via RT wrote:
> I thought about while testing AI diplomacy and it is actually applicable
> in a lot of places:there should be a
> players_iterate-- which iterates through live players
> and
> all_players_iterate-- which iterates through both dead and alive
> players.
Yes, that _is_ a good idea. Although it should be called
players_all_iterate() for consistency.
May be better to introduce players_alive_iterate(), though, since that
would mean less changes.
- Per
|
|