Changeset - r8207:2449a5b9223f
[Not reviewed]
master
0 1 0
peter1138 - 17 years ago 2008-01-06 20:54:55
peter1138@openttd.org
(svn r11770) -Codechange: An engine type's type is EngineID, not byte.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/roadveh_cmd.cpp
Show inline comments
 
@@ -235,7 +235,7 @@ CommandCost CmdBuildRoadVeh(TileIndex ti
 

	
 
		v->last_station_visited = INVALID_STATION;
 
		v->max_speed = rvi->max_speed;
 
		v->engine_type = (byte)p1;
 
		v->engine_type = (EngineID)p1;
 

	
 
		e = GetEngine(p1);
 
		v->reliability = e->reliability;
0 comments (0 inline, 0 general)