summaryrefslogtreecommitdiff
path: root/src/ai/ai_instance.cpp
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2009-10-31 19:46:51 +0000
committeralberth <alberth@openttd.org>2009-10-31 19:46:51 +0000
commit44aacfc59f06106acc492dda7b514db5c7f082ca (patch)
treec1502b47e5712f3dbe7b0542e88312bec676751e /src/ai/ai_instance.cpp
parent4ce1f5f0a0af73f618a1116b9e4cc25035caead5 (diff)
downloadopenttd-44aacfc59f06106acc492dda7b514db5c7f082ca.tar.xz
(svn r17928) -Codechange: ShowErrorMessage() now takes the summary string before the details string.
Gentlemen, swap your string parameters.
Diffstat (limited to 'src/ai/ai_instance.cpp')
-rw-r--r--src/ai/ai_instance.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ai/ai_instance.cpp b/src/ai/ai_instance.cpp
index d55ca085d..6ebaae46c 100644
--- a/src/ai/ai_instance.cpp
+++ b/src/ai/ai_instance.cpp
@@ -304,7 +304,7 @@ void AIInstance::Died()
const AIInfo *info = AIConfig::GetConfig(_current_company)->GetInfo();
if (info != NULL) {
- ShowErrorMessage(INVALID_STRING_ID, STR_ERROR_AI_PLEASE_REPORT_CRASH, 0, 0);
+ ShowErrorMessage(STR_ERROR_AI_PLEASE_REPORT_CRASH, INVALID_STRING_ID, 0, 0);
if (info->GetURL() != NULL) {
AILog::Info("Please report the error to the following URL:");