<URL: http://bugs.freeciv.org/Ticket/Display.html?id=39745 >
Patch attached. The team is reset in the following cases: - A player get disconnected in pregame. - A player is removed via the /remove command.
Index: common/game.c =================================================================== --- common/game.c (révision 14852) +++ common/game.c (copie de travail) @@ -501,6 +501,7 @@ game.players[game.nplayers].is_connected = FALSE; game.players[game.nplayers].was_created = FALSE; game.players[game.nplayers].ai.control = FALSE; + game.players[game.nplayers].team = TEAM_NONE; sz_strlcpy(game.players[game.nplayers].name, ANON_PLAYER_NAME); sz_strlcpy(game.players[game.nplayers].username, ANON_USER_NAME); }
_______________________________________________ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev