summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2009-10-04 04:57:01 +0000
committersmatz <smatz@openttd.org>2009-10-04 04:57:01 +0000
commitc344ae2e1db39db8f01229934b154d0c18db0e46 (patch)
treecda79c786d73a3e7cd6de0e6f0e0338127cb6bce /src
parentde798c5ae9c067c156d99af5787533f7f6f8baeb (diff)
downloadopenttd-c344ae2e1db39db8f01229934b154d0c18db0e46.tar.xz
(svn r17688) -Fix (r17684): incorrect comments
Diffstat (limited to 'src')
-rw-r--r--src/roadveh.h2
-rw-r--r--src/train.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/roadveh.h b/src/roadveh.h
index 010c3e395..e7b05d988 100644
--- a/src/roadveh.h
+++ b/src/roadveh.h
@@ -89,7 +89,7 @@ void RoadVehUpdateCache(RoadVehicle *v);
/** Cached oftenly queried (NewGRF) values */
struct RoadVehicleCache {
byte cached_veh_length;
- EngineID first_engine; ///< cached EngineID of the front vehicle. INVALID_VEHICLE for the front vehicle itself.
+ EngineID first_engine; ///< cached EngineID of the front vehicle. INVALID_ENGINE for the front vehicle itself.
};
/**
diff --git a/src/train.h b/src/train.h
index e1828297d..9705c3123 100644
--- a/src/train.h
+++ b/src/train.h
@@ -96,7 +96,7 @@ struct TrainCache {
byte cached_vis_effect;
byte user_def_data;
- EngineID first_engine; ///< cached EngineID of the front vehicle. INVALID_VEHICLE for the front vehicle itself.
+ EngineID first_engine; ///< cached EngineID of the front vehicle. INVALID_ENGINE for the front vehicle itself.
};
/**