(svn r11770) -Codechange: An engine type's type is EngineID, not byte.

This commit is contained in:
peter1138 2008-01-06 20:54:55 +00:00
parent fd330ce743
commit 7be2160cfb
1 changed files with 1 additions and 1 deletions

View File

@ -235,7 +235,7 @@ CommandCost CmdBuildRoadVeh(TileIndex tile, uint32 flags, uint32 p1, uint32 p2)
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;