mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-17 21:25:40 +00:00
(svn r2132) Fix copy&paste bug in r2131
This commit is contained in:
parent
ad7f157ac4
commit
10e4c9bfab
@ -305,7 +305,7 @@ int32 CmdBuildSingleRail(int x, int y, uint32 flags,
|
|||||||
return DoCommandByTile(tile, 0, 0, flags, CMD_LANDSCAPE_CLEAR);
|
return DoCommandByTile(tile, 0, 0, flags, CMD_LANDSCAPE_CLEAR);
|
||||||
}
|
}
|
||||||
|
|
||||||
ret = CheckRailSlope(tileh, rail_bit, m5 & RAIL_BIT_MASK, tile);
|
ret = CheckRailSlope(tileh, rail_bit, 0, tile);
|
||||||
if (ret & CMD_ERROR) return ret;
|
if (ret & CMD_ERROR) return ret;
|
||||||
cost += ret;
|
cost += ret;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user