diff options
Diffstat (limited to 'src/script/api/script_engine.hpp')
-rw-r--r-- | src/script/api/script_engine.hpp | 1 |
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. |