From 85e71bf571946303bfad107d0e7ff83a6cac2e62 Mon Sep 17 00:00:00 2001 From: Mark de Wever Date: Tue, 9 Sep 2008 19:03:17 +0000 Subject: [PATCH] Fix a compiler error. --- src/ai.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/ai.cpp b/src/ai.cpp index a9daff8970b..c9b507be1df 100644 --- a/src/ai.cpp +++ b/src/ai.cpp @@ -368,9 +368,11 @@ bool ai::recruit_usage(const std::string& usage) if (found) { LOG_AI << "No available units to recruit that come under the price.\n"; } 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 of the units in question! "; - "Removing invalid recruitment_pattern entry and continuing...\n"; + 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 " + "of the units in question! Removing invalid recruitment_pattern " + "entry and continuing...\n"; WRN_AI << warning; lg::wml_error << warning; return current_team().remove_recruitment_pattern_entry(usage);