changeset 13181:1f3d824fd4d0 draft

(svn r17688) -Fix (r17684): incorrect comments
author smatz <smatz@openttd.org>
date Sun, 04 Oct 2009 04:57:01 +0000
parents d240f1a8e878
children e87f42d9eca6
files src/roadveh.h src/train.h
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/roadveh.h
+++ b/src/roadveh.h
@@ -89,7 +89,7 @@
 /** 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.
 };
 
 /**
--- a/src/train.h
+++ b/src/train.h
@@ -96,7 +96,7 @@
 	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.
 };
 
 /**