diff options
Diffstat (limited to 'src/script/api/script_engine.hpp')
-rw-r--r-- | src/script/api/script_engine.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/script/api/script_engine.hpp b/src/script/api/script_engine.hpp index 20938ea66..1fef5d612 100644 --- a/src/script/api/script_engine.hpp +++ b/src/script/api/script_engine.hpp @@ -257,8 +257,8 @@ public: * Get the maximum allowed distance between two orders for an engine. * @param engine_id The engine to get the max distance for. * @pre IsValidEngine(engine_id). - * @return The maximum distance between two orders for the engine - * or 0 if the distance is unlimited. + * @return The square of the maximum distance between two orders for + * the engine or 0 if the distance is unlimited. * @see ScriptOrder::GetOrderDistance */ static uint GetMaximumOrderDistance(EngineID engine_id); |