[Freeciv-Dev] Re: (PR#13429) Move player_research to team
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://bugs.freeciv.org/Ticket/Display.html?id=13429 >
Mateusz Stefek wrote:
>>2. get_player_research should return NULL if the player has no team.
>>Callers must be audited for teamless players or NULL return values.
>
> Why can't we assume that each players has a team?
> An autogame with barbarians and civil war seems to work.
Well, no other code assumes this (I think). Players may happen to be on
teams now but...I don't know if we always want this. Having a team for
barbarian or observer players seems a bit foolish. In particular these
players can't do research so having no research struct for them would
make sense.
-jason
- [Freeciv-Dev] Re: (PR#13429) Move player_research to team, Jason Short, 2005/07/09
- [Freeciv-Dev] (PR#13429) Move player_research to team, Mateusz Stefek, 2005/07/09
- [Freeciv-Dev] Re: (PR#13429) Move player_research to team,
Jason Short <=
- [Freeciv-Dev] (PR#13429) Move player_research to team, Mateusz Stefek, 2005/07/09
- [Freeciv-Dev] Re: (PR#13429) Move player_research to team, Jason Short, 2005/07/09
- [Freeciv-Dev] (PR#13429) Move player_research to team, Mateusz Stefek, 2005/07/10
- [Freeciv-Dev] (PR#13429) Move player_research to team, Mateusz Stefek, 2005/07/13
- [Freeciv-Dev] (PR#13429) Move player_research to team, Jason Short, 2005/07/13
- [Freeciv-Dev] (PR#13429) Move player_research to team, Mateusz Stefek, 2005/07/13
- [Freeciv-Dev] (PR#13429) Move player_research to team, Mateusz Stefek, 2005/07/19
|
|