mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-12 10:30:28 +00:00
Cleanup: Correct typographic errors in code comments.
This commit is contained in:
parent
f11cd8f2d0
commit
16e5f610f7
@ -29,7 +29,7 @@ struct Engine : EnginePool::PoolItem<&_engine_pool> {
|
|||||||
uint16 reliability_final; ///< Final reliability of the engine.
|
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_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_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
|
byte flags; ///< Flags of the engine. @see EngineFlags
|
||||||
CompanyMask preview_asked; ///< Bit for each company which has already been offered a preview.
|
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.
|
CompanyID preview_company; ///< Company which is currently being offered a preview \c INVALID_COMPANY means no company.
|
||||||
|
@ -29,7 +29,7 @@ public:
|
|||||||
/** No more space for orders */
|
/** No more space for orders */
|
||||||
ERR_ORDER_TOO_MANY, // [STR_ERROR_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]
|
ERR_ORDER_TOO_FAR_AWAY_FROM_PREVIOUS_DESTINATION, // [STR_ERROR_TOO_FAR_FROM_PREVIOUS_DESTINATION]
|
||||||
|
|
||||||
/** Aircraft has not enough range to copy/share orders. */
|
/** Aircraft has not enough range to copy/share orders. */
|
||||||
|
@ -42,7 +42,7 @@ public:
|
|||||||
/**
|
/**
|
||||||
* Invalid constructor. This can't be called as a FlowStat must not be
|
* Invalid constructor. This can't be called as a FlowStat must not be
|
||||||
* empty. However, the constructor must be defined and reachable for
|
* 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();}
|
inline FlowStat() {NOT_REACHED();}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user