Author: pepeto Date: Fri Nov 28 09:23:08 2014 New Revision: 27145 URL: http://svn.gna.org/viewcvs/freeciv?rev=27145&view=rev Log: Make team mates unable to withdraw shared vision.
See gna bug #22992 Modified: branches/S2_5/server/plrhand.c Modified: branches/S2_5/server/plrhand.c URL: http://svn.gna.org/viewcvs/freeciv/branches/S2_5/server/plrhand.c?rev=27145&r1=27144&r2=27145&view=diff ============================================================================== --- branches/S2_5/server/plrhand.c (original) +++ branches/S2_5/server/plrhand.c Fri Nov 28 09:23:08 2014 @@ -603,7 +603,7 @@ struct player_diplstate *ds_plrplr2, *ds_plr2plr; struct unit_list *pplayer_seen_units, *pplayer2_seen_units; - if (NULL == pplayer2) { + if (NULL == pplayer2 || players_on_same_team(pplayer, pplayer2)) { return; } _______________________________________________ Freeciv-commits mailing list Freeciv-commits@gna.org https://mail.gna.org/listinfo/freeciv-commits