Author: jtn Date: Mon Jun 16 23:57:00 2014 New Revision: 25155 URL: http://svn.gna.org/viewcvs/freeciv?rev=25155&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: trunk/client/helpdata.c Modified: trunk/client/helpdata.c URL: http://svn.gna.org/viewcvs/freeciv/trunk/client/helpdata.c?rev=25155&r1=25154&r2=25155&view=diff ============================================================================== --- trunk/client/helpdata.c (original) +++ trunk/client/helpdata.c Mon Jun 16 23:57:00 2014 @@ -3291,7 +3291,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