mail[Wesnoth-commits] r43985 - /trunk/src/race.cpp


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by alinktomine on July 07, 2010 - 14:47:
Author: alink
Date: Wed Jul  7 14:47:11 2010
New Revision: 43985

URL: http://svn.gna.org/viewcvs/wesnoth?rev=43985&view=rev
Log:
In [race] use "name" as "plural_name" if missing
(as we do for gender names and as the wiki says)

Modified:
    trunk/src/race.cpp

Modified: trunk/src/race.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/race.cpp?rev=43985&r1=43984&r2=43985&view=diff
==============================================================================
--- trunk/src/race.cpp (original)
+++ trunk/src/race.cpp Wed Jul  7 14:47:11 2010
@@ -159,6 +159,7 @@
        }
        if (plural_name_.empty()) {
                lg::wml_error << "[race] '" << cfg["name"] << "' is missing a 
plural_name field.";
+               plural_name_ = (cfg["name"]);
        }
        // use "name" if "male_name" or "female_name" aren't available
        name_[MALE] = cfg["male_name"];




Related Messages


Powered by MHonArc, Updated Wed Jul 07 18:20:07 2010