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_core.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_core.cpp')
-rw-r--r-- | src/ai/ai_core.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ai/ai_core.cpp b/src/ai/ai_core.cpp index 0b02170a6..ac2f00f65 100644 --- a/src/ai/ai_core.cpp +++ b/src/ai/ai_core.cpp @@ -184,7 +184,7 @@ for (CompanyID c = COMPANY_FIRST; c < MAX_COMPANIES; c++) { if (_settings_game.ai_config[c] != NULL && _settings_game.ai_config[c]->HasScript()) { if (!_settings_game.ai_config[c]->ResetInfo(true)) { - DEBUG(ai, 0, "After a reload, the AI by the name '%s' was no longer found, and removed from the list.", _settings_game.ai_config[c]->GetName()); + DEBUG(script, 0, "After a reload, the AI by the name '%s' was no longer found, and removed from the list.", _settings_game.ai_config[c]->GetName()); _settings_game.ai_config[c]->Change(NULL); if (Company::IsValidAiID(c)) { /* The code belonging to an already running AI was deleted. We can only do @@ -201,7 +201,7 @@ } if (_settings_newgame.ai_config[c] != NULL && _settings_newgame.ai_config[c]->HasScript()) { if (!_settings_newgame.ai_config[c]->ResetInfo(false)) { - DEBUG(ai, 0, "After a reload, the AI by the name '%s' was no longer found, and removed from the list.", _settings_newgame.ai_config[c]->GetName()); + DEBUG(script, 0, "After a reload, the AI by the name '%s' was no longer found, and removed from the list.", _settings_newgame.ai_config[c]->GetName()); _settings_newgame.ai_config[c]->Change(NULL); } } |