Author: jtn Date: Mon Jun 16 23:59:52 2014 New Revision: 25162 URL: http://svn.gna.org/viewcvs/freeciv?rev=25162&view=rev Log: Don't claim veteran Nuclear units with no defence have increased strength in combat; they don't.
Reported by 'vla22'. See gna bug #22165. Modified: branches/S2_5/client/helpdata.c Modified: branches/S2_5/client/helpdata.c URL: http://svn.gna.org/viewcvs/freeciv/branches/S2_5/client/helpdata.c?rev=25162&r1=25161&r2=25162&view=diff ============================================================================== --- branches/S2_5/client/helpdata.c (original) +++ branches/S2_5/client/helpdata.c Mon Jun 16 23:59:52 2014 @@ -2650,7 +2650,7 @@ * through combat/missions/work. */ CATLSTR(buf, bufsz, _("* May acquire veteran status.\n")); if (utype_veteran_has_power_bonus(utype)) { - if (utype->attack_strength > 0 + if ((!utype_has_flag(utype, UTYF_NUCLEAR) && utype->attack_strength > 0) || utype->defense_strength > 0) { CATLSTR(buf, bufsz, _(" * Veterans have increased strength in combat.\n")); _______________________________________________ Freeciv-commits mailing list Freeciv-commits@gna.org https://mail.gna.org/listinfo/freeciv-commits