Author: jtn Date: Tue Jun 17 00:05:42 2014 New Revision: 25168 URL: http://svn.gna.org/viewcvs/freeciv?rev=25168&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_4/client/helpdata.c Modified: branches/S2_4/client/helpdata.c URL: http://svn.gna.org/viewcvs/freeciv/branches/S2_4/client/helpdata.c?rev=25168&r1=25167&r2=25168&view=diff ============================================================================== --- branches/S2_4/client/helpdata.c (original) +++ branches/S2_4/client/helpdata.c Tue Jun 17 00:05:42 2014 @@ -2231,7 +2231,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, F_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