summaryrefslogtreecommitdiff
path: root/src/vehicle.cpp
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2010-08-15 14:06:43 +0000
committeralberth <alberth@openttd.org>2010-08-15 14:06:43 +0000
commit35fec79700a961ccd9f3d13bc068edccc63dc6a5 (patch)
tree89db9e984c5c6100fcaa55ee36f29fd6027132dc /src/vehicle.cpp
parent15514baf8b19c87c559361798c8d7705f2b3edf0 (diff)
downloadopenttd-35fec79700a961ccd9f3d13bc068edccc63dc6a5.tar.xz
(svn r20499) -Doc: Spelling fixes, and one doxygen comment addition.
Diffstat (limited to 'src/vehicle.cpp')
-rw-r--r--src/vehicle.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/vehicle.cpp b/src/vehicle.cpp
index 3a23dfab9..0089514f8 100644
--- a/src/vehicle.cpp
+++ b/src/vehicle.cpp
@@ -136,7 +136,7 @@ bool Vehicle::NeedsServicing() const
/* Is there anything to refit? */
if (union_mask != 0) {
CargoID cargo_type;
- /* We cannot refit to mixed cargos in an automated way */
+ /* We cannot refit to mixed cargoes in an automated way */
if (IsArticulatedVehicleCarryingDifferentCargos(v, &cargo_type)) continue;
/* Did the old vehicle carry anything? */
@@ -569,7 +569,7 @@ void ResetVehicleColourMap()
/**
* List of vehicles that should check for autoreplace this tick.
- * Mapping of vehicle -> leave depot immediatelly after autoreplace.
+ * Mapping of vehicle -> leave depot immediately after autoreplace.
*/
typedef SmallMap<Vehicle *, bool, 4> AutoreplaceMap;
static AutoreplaceMap _vehicles_to_autoreplace;
@@ -1416,7 +1416,7 @@ const Livery *GetEngineLivery(EngineID engine_type, CompanyID company, EngineID
default: NOT_REACHED();
case VEH_TRAIN: {
if (v != NULL && parent_engine_type != INVALID_ENGINE && (UsesWagonOverride(v) || (Train::From(v)->IsArticulatedPart() && e->u.rail.railveh_type != RAILVEH_WAGON))) {
- /* Wagonoverrides use the coloir scheme of the front engine.
+ /* Wagonoverrides use the colour scheme of the front engine.
* Articulated parts use the colour scheme of the first part. (Not supported for articulated wagons) */
engine_type = parent_engine_type;
e = Engine::Get(engine_type);