summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarkvater <darkvater@openttd.org>2005-10-07 15:53:33 +0000
committerDarkvater <darkvater@openttd.org>2005-10-07 15:53:33 +0000
commit9134e19d7eeb3a93ac42a61f47c6d2a95a84a1fa (patch)
tree94efa4a7dc9842991221a444d91a78c6042df48c
parent3397e202c82cda0398ef4a642e74f2d864c5dc7d (diff)
downloadopenttd-9134e19d7eeb3a93ac42a61f47c6d2a95a84a1fa.tar.xz
(svn r3025) -Fix: Rail convert issue introduced in r3019
-rw-r--r--rail_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rail_cmd.c b/rail_cmd.c
index c41aa4ee2..c4c1d86d7 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);
}