Fix a compiler error.

This commit is contained in:
Mark de Wever 2008-09-09 19:03:17 +00:00
parent 68b245e4be
commit 85e71bf571

View file

@ -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);