diff --git a/rail_cmd.c b/rail_cmd.c index c41aa4ee24..c4c1d86d7d 100644 --- a/rail_cmd.c +++ b/rail_cmd.c @@ -991,7 +991,7 @@ static int32 DoConvertRail(TileIndex tile, uint totype, bool exec) // change type. if (exec) { - SB(_m[tile].m3, 4, 4, totype); + SB(_m[tile].m3, 0, 4, totype); MarkTileDirtyByTile(tile); }