Changeset - r22573:9e47bd34f5f9
[Not reviewed]
master
0 1 0
peter1138 - 7 years ago 2017-03-12 15:26:31
peter1138@openttd.org
(svn r27784) -Fix [FS#6505]: Allow rail conversion even if ship is on tile (Samu).
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/rail_cmd.cpp
Show inline comments
 
@@ -1603,7 +1603,7 @@ CommandCost CmdConvertRail(TileIndex til
 
		 * Tunnels and bridges have special check later */
 
		if (tt != MP_TUNNELBRIDGE) {
 
			if (!IsCompatibleRail(type, totype)) {
 
				CommandCost ret = EnsureNoVehicleOnGround(tile);
 
				CommandCost ret = IsPlainRailTile(tile) ? EnsureNoTrainOnTrackBits(tile, GetTrackBits(tile)) : EnsureNoVehicleOnGround(tile);
 
				if (ret.Failed()) {
 
					error = ret;
 
					continue;
0 comments (0 inline, 0 general)