Author: sveinung Date: Wed Jul 22 16:08:17 2015 New Revision: 29237 URL: http://svn.gna.org/viewcvs/freeciv?rev=29237&view=rev Log: If a unit is nuclear is irrelevant in unit_bombard()
See bug #23703 Modified: trunk/server/unithand.c Modified: trunk/server/unithand.c URL: http://svn.gna.org/viewcvs/freeciv/trunk/server/unithand.c?rev=29237&r1=29236&r2=29237&view=diff ============================================================================== --- trunk/server/unithand.c (original) +++ trunk/server/unithand.c Wed Jul 22 16:08:17 2015 @@ -2086,9 +2086,7 @@ "peace or cease-fire at (%d, %d).", TILE_XY(unit_tile(pdefender))); fc_assert_ret_val_msg(!pplayers_allied(unit_owner(punit), - unit_owner(pdefender)) - || (unit_has_type_flag(punit, UTYF_NUCLEAR) - && punit == pdefender), TRUE, + unit_owner(pdefender)), TRUE, "Trying to attack a unit with which you have " "alliance at (%d, %d).", TILE_XY(unit_tile(pdefender))); _______________________________________________ Freeciv-commits mailing list Freeciv-commits@gna.org https://mail.gna.org/listinfo/freeciv-commits