mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-09 23:50:25 +00:00
(svn r11770) -Codechange: An engine type's type is EngineID, not byte.
This commit is contained in:
parent
fd330ce743
commit
7be2160cfb
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user