Author: esr
Date: Fri Sep 12 11:36:22 2008
New Revision: 29414

URL: http://svn.gna.org/viewcvs/wesnoth?rev=29414&view=rev
Log:
Make an eror message a bit more informative.

Modified:
    trunk/src/ai.cpp

Modified: trunk/src/ai.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/ai.cpp?rev=29414&r1=29413&r2=29414&view=diff
==============================================================================
--- trunk/src/ai.cpp (original)
+++ trunk/src/ai.cpp Fri Sep 12 11:36:22 2008
@@ -370,7 +370,7 @@
        } else if (usage != "") {
                const std::string warning = "Trying to recruit a: " + usage + " 
but no "
                        "unit of that type (usage=) is available. Check the 
recruit and "
-                       "[ai] recruitment_pattern keys for this side against 
the usage key "
+                 "[ai] recruitment_pattern keys for team '" + 
current_team().name() + "' against the usage key "
                        "of the units in question! Removing invalid 
recruitment_pattern "
                        "entry and continuing...\n";
                WRN_AI << warning;


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

Reply via email to