Author: espreon
Date: Wed Oct 12 18:26:28 2011
New Revision: 51450

URL: http://svn.gna.org/viewcvs/wesnoth?rev=51450&view=rev
Log:
Added missing references to liminal, thus we can now change a unit's alignment 
to liminal with :unit.

Modified:
    trunk/src/menu_events.cpp

Modified: trunk/src/menu_events.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/menu_events.cpp?rev=51450&r1=51449&r2=51450&view=diff
==============================================================================
--- trunk/src/menu_events.cpp (original)
+++ trunk/src/menu_events.cpp Wed Oct 12 18:26:28 2011
@@ -3499,11 +3499,11 @@
        // But someday the code ought to be
        // changed to allow general string
        // alignments for UMC.
-       if (name == "alignment" && (value != "lawful" && value != "neutral" && 
value != "chaotic")) {
+       if (name == "alignment" && (value != "lawful" && value != "neutral" && 
value != "chaotic" && value != "liminal")) {
                utils::string_map symbols;
                symbols["alignment"] = get_arg(1);
                command_failed(VGETTEXT("Invalid alignment: '$alignment',"
-                       " needs to be one of lawful, neutral, or chaotic.", 
symbols));
+                       " needs to be one of lawful, neutral, chaotic, or 
liminal.", symbols));
                return;
        }
        if (name == "advances" ){


_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits

Reply via email to