summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.
};
/**