summaryrefslogtreecommitdiff
path: root/src/script/api/script_testmode.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2012-03-04 16:54:12 +0000
committerrubidium <rubidium@openttd.org>2012-03-04 16:54:12 +0000
commit22637f139fa73dc526982fdbe3ba79d8bfef438a (patch)
tree0c3a16d254e5992cade4d325bb3876ff4a37b3a3 /src/script/api/script_testmode.cpp
parente6a828def1b25671b4115903cb81d97c4e2348d6 (diff)
downloadopenttd-22637f139fa73dc526982fdbe3ba79d8bfef438a.tar.xz
(svn r24008) -Cleanup/doc: try not to mention (No)AI in script APIs
Diffstat (limited to 'src/script/api/script_testmode.cpp')
-rw-r--r--src/script/api/script_testmode.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/script/api/script_testmode.cpp b/src/script/api/script_testmode.cpp
index 81633844a..46cc15e05 100644
--- a/src/script/api/script_testmode.cpp
+++ b/src/script/api/script_testmode.cpp
@@ -31,9 +31,9 @@ ScriptTestMode::ScriptTestMode()
ScriptTestMode::~ScriptTestMode()
{
if (this->GetDoCommandModeInstance() != this) {
- /* Ignore this error if the AI already died. */
+ /* Ignore this error if the script already died. */
if (!ScriptObject::GetActiveInstance()->IsDead()) {
- throw Script_FatalError("AITestmode object was removed while it was not the latest AI*Mode object created.");
+ throw Script_FatalError("Testmode object was removed while it was not the latest *Mode object created.");
}
}
this->SetDoCommandMode(this->last_mode, this->last_instance);