Author: jtn
Date: Tue Jun 17 11:08:07 2014
New Revision: 25179

URL: http://svn.gna.org/viewcvs/freeciv?rev=25179&view=rev
Log:
Don't suppress display of veteran level for NoVeteran units.

See gna bug #22199.

Modified:
    branches/S2_5/common/unittype.c

Modified: branches/S2_5/common/unittype.c
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_5/common/unittype.c?rev=25179&r1=25178&r2=25179&view=diff
==============================================================================
--- branches/S2_5/common/unittype.c     (original)
+++ branches/S2_5/common/unittype.c     Tue Jun 17 11:08:07 2014
@@ -1183,8 +1183,7 @@
 const char *utype_veteran_name_translation(const struct unit_type *punittype,
                                            int level)
 {
-  if (utype_has_flag(punittype, UTYF_NO_VETERAN)
-      || utype_veteran_levels(punittype) <= 1) {
+  if (utype_veteran_levels(punittype) <= 1) {
     return NULL;
   } else {
     const struct veteran_level *vlvl = utype_veteran_level(punittype, level);


_______________________________________________
Freeciv-commits mailing list
Freeciv-commits@gna.org
https://mail.gna.org/listinfo/freeciv-commits

Reply via email to