diff options
author | yexo <yexo@openttd.org> | 2010-08-23 22:44:08 +0000 |
---|---|---|
committer | yexo <yexo@openttd.org> | 2010-08-23 22:44:08 +0000 |
commit | 747f638557f62d02ffd62188f17bcc7493285dc3 (patch) | |
tree | ed239e00c0374e22721e55544352436f82743d53 /src/ai | |
parent | 9d1145e50cead52c479900e8a05e1b154860cec2 (diff) | |
download | openttd-747f638557f62d02ffd62188f17bcc7493285dc3.tar.xz |
(svn r20606) -Change [FS#4042]: change the debug level of the "Registering two AIs/libraries with the same name and version" message from 0 to 1
Diffstat (limited to 'src/ai')
-rw-r--r-- | src/ai/ai_scanner.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/ai/ai_scanner.cpp b/src/ai/ai_scanner.cpp index d404270d9..7aea4a4cb 100644 --- a/src/ai/ai_scanner.cpp +++ b/src/ai/ai_scanner.cpp @@ -188,10 +188,10 @@ void AIScanner::RegisterLibrary(AILibrary *library) return; } - DEBUG(ai, 0, "Registering two libraries with the same name and version"); - DEBUG(ai, 0, " 1: %s", this->library_list[library_name]->GetMainScript()); - DEBUG(ai, 0, " 2: %s", library->GetMainScript()); - DEBUG(ai, 0, "The first is taking precedence."); + DEBUG(ai, 1, "Registering two libraries with the same name and version"); + DEBUG(ai, 1, " 1: %s", this->library_list[library_name]->GetMainScript()); + DEBUG(ai, 1, " 2: %s", library->GetMainScript()); + DEBUG(ai, 1, "The first is taking precedence."); delete library; return; @@ -225,10 +225,10 @@ void AIScanner::RegisterAI(AIInfo *info) return; } - DEBUG(ai, 0, "Registering two AIs with the same name and version"); - DEBUG(ai, 0, " 1: %s", this->info_list[ai_name]->GetMainScript()); - DEBUG(ai, 0, " 2: %s", info->GetMainScript()); - DEBUG(ai, 0, "The first is taking precedence."); + DEBUG(ai, 1, "Registering two AIs with the same name and version"); + DEBUG(ai, 1, " 1: %s", this->info_list[ai_name]->GetMainScript()); + DEBUG(ai, 1, " 2: %s", info->GetMainScript()); + DEBUG(ai, 1, "The first is taking precedence."); delete info; return; |