diff options
author | truebrain <truebrain@openttd.org> | 2011-12-01 12:04:10 +0000 |
---|---|---|
committer | truebrain <truebrain@openttd.org> | 2011-12-01 12:04:10 +0000 |
commit | a8b22e5292e5b0e47a7dbecf47e530f877624ecf (patch) | |
tree | 73e78e63639615b579436a0d6df3df4eb0ab3391 /src/ai/ai_info.cpp | |
parent | fedeba5f0021217ce23fbe106b31687cbeb643ce (diff) | |
download | openttd-a8b22e5292e5b0e47a7dbecf47e530f877624ecf.tar.xz |
(svn r23386) -Fix: debug script related events to 'script' (removes 'ai')
Diffstat (limited to 'src/ai/ai_info.cpp')
-rw-r--r-- | src/ai/ai_info.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ai/ai_info.cpp b/src/ai/ai_info.cpp index 0ce4f5297..83bae7aad 100644 --- a/src/ai/ai_info.cpp +++ b/src/ai/ai_info.cpp @@ -89,7 +89,7 @@ template <> const char *GetClassName<AIInfo, ST_AI>() { return "AIInfo"; } if (info->engine->MethodExists(*info->SQ_instance, "GetAPIVersion")) { if (!info->engine->CallStringMethodStrdup(*info->SQ_instance, "GetAPIVersion", &info->api_version, MAX_GET_OPS)) return SQ_ERROR; if (!CheckAPIVersion(info->api_version)) { - DEBUG(ai, 1, "Loading info.nut from (%s.%d): GetAPIVersion returned invalid version", info->GetName(), info->GetVersion()); + DEBUG(script, 1, "Loading info.nut from (%s.%d): GetAPIVersion returned invalid version", info->GetName(), info->GetVersion()); return SQ_ERROR; } } else { |