summaryrefslogtreecommitdiff
path: root/src/script/api/script_engine.hpp
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2015-01-20 19:11:31 +0000
committerfrosch <frosch@openttd.org>2015-01-20 19:11:31 +0000
commita55a5bff24d60de86a63fe1074c1fca314bf660c (patch)
tree3fd961f0134783992423f17b314597f32b9e2367 /src/script/api/script_engine.hpp
parent8280de72409a150c6498ff4653e5cf1db65cab47 (diff)
downloadopenttd-a55a5bff24d60de86a63fe1074c1fca314bf660c.tar.xz
(svn r27123) -Fix [FS#5371] [FS#6214]: API docs (krinn)
Diffstat (limited to 'src/script/api/script_engine.hpp')
-rw-r--r--src/script/api/script_engine.hpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/script/api/script_engine.hpp b/src/script/api/script_engine.hpp
index 5f703e159..173377742 100644
--- a/src/script/api/script_engine.hpp
+++ b/src/script/api/script_engine.hpp
@@ -108,7 +108,6 @@ public:
* Get the maximum speed of an engine.
* @param engine_id The engine to get the maximum speed of.
* @pre IsValidEngine(engine_id).
- * @pre GetVehicleType(engine_id) != ScriptVehicle::VT_TRAIN || !IsWagon(engine_id).
* @return The maximum speed the engine has.
* @note The speed is in OpenTTD's internal speed unit.
* This is mph / 1.6, which is roughly km/h.