From 16e5f610f77cccca097d3df735104578571b81ef Mon Sep 17 00:00:00 2001 From: TechGeekNZ Date: Thu, 28 May 2020 15:15:59 +1200 Subject: Cleanup: Correct typographic errors in code comments. --- src/engine_base.h | 2 +- src/script/api/script_order.hpp | 2 +- src/station_base.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/engine_base.h b/src/engine_base.h index f388e894b..2e434b589 100644 --- a/src/engine_base.h +++ b/src/engine_base.h @@ -29,7 +29,7 @@ struct Engine : EnginePool::PoolItem<&_engine_pool> { uint16 reliability_final; ///< Final reliability of the engine. uint16 duration_phase_1; ///< First reliability phase in months, increasing reliability from #reliability_start to #reliability_max. uint16 duration_phase_2; ///< Second reliability phase in months, keeping #reliability_max. - uint16 duration_phase_3; ///< Third reliability phase on months, decaying to #reliability_final. + uint16 duration_phase_3; ///< Third reliability phase in months, decaying to #reliability_final. byte flags; ///< Flags of the engine. @see EngineFlags CompanyMask preview_asked; ///< Bit for each company which has already been offered a preview. CompanyID preview_company; ///< Company which is currently being offered a preview \c INVALID_COMPANY means no company. diff --git a/src/script/api/script_order.hpp b/src/script/api/script_order.hpp index cce74fa5d..0086e39ca 100644 --- a/src/script/api/script_order.hpp +++ b/src/script/api/script_order.hpp @@ -29,7 +29,7 @@ public: /** No more space for orders */ ERR_ORDER_TOO_MANY, // [STR_ERROR_NO_MORE_SPACE_FOR_ORDERS] - /** Destination of new order is to far away from the previous order */ + /** Destination of new order is too far away from the previous order */ ERR_ORDER_TOO_FAR_AWAY_FROM_PREVIOUS_DESTINATION, // [STR_ERROR_TOO_FAR_FROM_PREVIOUS_DESTINATION] /** Aircraft has not enough range to copy/share orders. */ diff --git a/src/station_base.h b/src/station_base.h index 75b1c1112..4f1646976 100644 --- a/src/station_base.h +++ b/src/station_base.h @@ -42,7 +42,7 @@ public: /** * Invalid constructor. This can't be called as a FlowStat must not be * empty. However, the constructor must be defined and reachable for - * FlwoStat to be used in a std::map. + * FlowStat to be used in a std::map. */ inline FlowStat() {NOT_REACHED();} -- cgit v1.2.3-54-g00ecf