[Freeciv-Dev] (PR#2730) Allied victory isn't looking at aliveness
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
[per - Sun Jan 5 22:12:07 2003]:
> 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.
I agree, leave players_iterate as it is and introduce
live_players_iterate or players_alive_iterate. If there are sufficient
places that would use this?
Did the original patch get applied? Can you close the issue?
jason
|
|