1
0
Fork 0

(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

release/1.1
yexo 2010-08-23 22:44:08 +00:00
parent 9d1145e50c
commit 747f638557
1 changed files with 8 additions and 8 deletions

View File

@ -188,10 +188,10 @@ void AIScanner::RegisterLibrary(AILibrary *library)
return; return;
} }
DEBUG(ai, 0, "Registering two libraries with the same name and version"); DEBUG(ai, 1, "Registering two libraries with the same name and version");
DEBUG(ai, 0, " 1: %s", this->library_list[library_name]->GetMainScript()); DEBUG(ai, 1, " 1: %s", this->library_list[library_name]->GetMainScript());
DEBUG(ai, 0, " 2: %s", library->GetMainScript()); DEBUG(ai, 1, " 2: %s", library->GetMainScript());
DEBUG(ai, 0, "The first is taking precedence."); DEBUG(ai, 1, "The first is taking precedence.");
delete library; delete library;
return; return;
@ -225,10 +225,10 @@ void AIScanner::RegisterAI(AIInfo *info)
return; return;
} }
DEBUG(ai, 0, "Registering two AIs with the same name and version"); DEBUG(ai, 1, "Registering two AIs with the same name and version");
DEBUG(ai, 0, " 1: %s", this->info_list[ai_name]->GetMainScript()); DEBUG(ai, 1, " 1: %s", this->info_list[ai_name]->GetMainScript());
DEBUG(ai, 0, " 2: %s", info->GetMainScript()); DEBUG(ai, 1, " 2: %s", info->GetMainScript());
DEBUG(ai, 0, "The first is taking precedence."); DEBUG(ai, 1, "The first is taking precedence.");
delete info; delete info;
return; return;