(svn r12527) [NoAI] -Fix: only the first failing WrightAI could change its name to show it failed
--- a/bin/ai/wrightai/main.nut Mon Mar 31 18:45:18 2008 +0000
+++ b/bin/ai/wrightai/main.nut Tue Apr 01 01:55:23 2008 +0000
@@ -349,7 +349,7 @@
}
else if (ret < 0 && ticker == 0) {
/* The AI failed to build a first airport and is deemed */
- AICompany.SetCompanyName("FailedWrightAI");
+ AICompany.SetCompanyName("Failed " + this.name);
AILog.Error("Failed to build first airport route, now giving up building. Repaying loan. Have a nice day!");
AICompany.SetLoanAmount(0);
return;