diff options
author | rubidium <rubidium@openttd.org> | 2012-03-04 16:54:12 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2012-03-04 16:54:12 +0000 |
commit | 22637f139fa73dc526982fdbe3ba79d8bfef438a (patch) | |
tree | 0c3a16d254e5992cade4d325bb3876ff4a37b3a3 /src/script/api/script_object.cpp | |
parent | e6a828def1b25671b4115903cb81d97c4e2348d6 (diff) | |
download | openttd-22637f139fa73dc526982fdbe3ba79d8bfef438a.tar.xz |
(svn r24008) -Cleanup/doc: try not to mention (No)AI in script APIs
Diffstat (limited to 'src/script/api/script_object.cpp')
-rw-r--r-- | src/script/api/script_object.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/script/api/script_object.cpp b/src/script/api/script_object.cpp index a4c4549be..7da23d6f7 100644 --- a/src/script/api/script_object.cpp +++ b/src/script/api/script_object.cpp @@ -303,13 +303,13 @@ ScriptObject::ActiveInstance::~ActiveInstance() if (callback != NULL) callback(GetActiveInstance()); return true; } else if (_networking) { - /* Suspend the AI till the command is really executed. */ + /* Suspend the script till the command is really executed. */ throw Script_Suspend(-(int)GetDoCommandDelay(), callback); } else { IncreaseDoCommandCosts(res.GetCost()); - /* Suspend the AI player for 1+ ticks, so it simulates multiplayer. This - * both avoids confusion when a developer launched his AI in a + /* Suspend the script player for 1+ ticks, so it simulates multiplayer. This + * both avoids confusion when a developer launched his script in a * multiplayer game, but also gives time for the GUI and human player * to interact with the game. */ throw Script_Suspend(GetDoCommandDelay(), callback); |