From 6423de929059d7a242aeba9207ab3cf66cfd14e7 Mon Sep 17 00:00:00 2001 From: Darkvater Date: Fri, 7 Oct 2005 15:53:33 +0000 Subject: [PATCH] (svn r3025) -Fix: Rail convert issue introduced in r3019 --- rail_cmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }