summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTechGeekNZ <git@tech.geek.nz>2020-05-28 15:15:59 +1200
committerCharles Pigott <charlespigott@googlemail.com>2020-05-28 08:26:41 +0100
commit16e5f610f77cccca097d3df735104578571b81ef (patch)
treed9a920fe98ffa429131bbf9bde2792712f6261a8 /src
parentf11cd8f2d07b69eeedb5c3d3dc7c9ade37151707 (diff)
downloadopenttd-16e5f610f77cccca097d3df735104578571b81ef.tar.xz
Cleanup: Correct typographic errors in code comments.
Diffstat (limited to 'src')
-rw-r--r--src/engine_base.h2
-rw-r--r--src/script/api/script_order.hpp2
-rw-r--r--src/station_base.h2
3 files changed, 3 insertions, 3 deletions
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();}