Author: jtn
Date: Tue Jun 17 11:12:02 2014
New Revision: 25185

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

See gna bug #22199.

Modified:
    branches/S2_4/common/unittype.c

Modified: branches/S2_4/common/unittype.c
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_4/common/unittype.c?rev=25185&r1=25184&r2=25185&view=diff
==============================================================================
--- branches/S2_4/common/unittype.c     (original)
+++ branches/S2_4/common/unittype.c     Tue Jun 17 11:12:02 2014
@@ -1157,8 +1157,7 @@
 const char *utype_veteran_name_translation(const struct unit_type *punittype,
                                            int level)
 {
-  if (utype_has_flag(punittype, F_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