summaryrefslogtreecommitdiff
path: root/src/saveload/ai_sl.cpp
diff options
context:
space:
mode:
authortruebrain <truebrain@openttd.org>2011-12-01 12:04:10 +0000
committertruebrain <truebrain@openttd.org>2011-12-01 12:04:10 +0000
commita8b22e5292e5b0e47a7dbecf47e530f877624ecf (patch)
tree73e78e63639615b579436a0d6df3df4eb0ab3391 /src/saveload/ai_sl.cpp
parentfedeba5f0021217ce23fbe106b31687cbeb643ce (diff)
downloadopenttd-a8b22e5292e5b0e47a7dbecf47e530f877624ecf.tar.xz
(svn r23386) -Fix: debug script related events to 'script' (removes 'ai')
Diffstat (limited to 'src/saveload/ai_sl.cpp')
-rw-r--r--src/saveload/ai_sl.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/saveload/ai_sl.cpp b/src/saveload/ai_sl.cpp
index 31828be24..00ae7d72f 100644
--- a/src/saveload/ai_sl.cpp
+++ b/src/saveload/ai_sl.cpp
@@ -87,15 +87,15 @@ static void Load_AIPL()
config->Change(_ai_saveload_name, -1, false, _ai_saveload_is_random);
if (!config->HasScript()) {
if (strcmp(_ai_saveload_name, "%_dummy") != 0) {
- DEBUG(ai, 0, "The savegame has an AI by the name '%s', version %d which is no longer available.", _ai_saveload_name, _ai_saveload_version);
- DEBUG(ai, 0, "A random other AI will be loaded in its place.");
+ DEBUG(script, 0, "The savegame has an AI by the name '%s', version %d which is no longer available.", _ai_saveload_name, _ai_saveload_version);
+ DEBUG(script, 0, "A random other AI will be loaded in its place.");
} else {
- DEBUG(ai, 0, "The savegame had no AIs available at the time of saving.");
- DEBUG(ai, 0, "A random available AI will be loaded now.");
+ DEBUG(script, 0, "The savegame had no AIs available at the time of saving.");
+ DEBUG(script, 0, "A random available AI will be loaded now.");
}
} else {
- DEBUG(ai, 0, "The savegame has an AI by the name '%s', version %d which is no longer available.", _ai_saveload_name, _ai_saveload_version);
- DEBUG(ai, 0, "The latest version of that AI has been loaded instead, but it'll not get the savegame data as it's incompatible.");
+ DEBUG(script, 0, "The savegame has an AI by the name '%s', version %d which is no longer available.", _ai_saveload_name, _ai_saveload_version);
+ DEBUG(script, 0, "The latest version of that AI has been loaded instead, but it'll not get the savegame data as it's incompatible.");
}
/* Make sure the AI doesn't get the saveload data, as he was not the
* writer of the saveload data in the first place */