Changeset - r8560:15c754761695
[Not reviewed]
master
0 1 0
smatz - 16 years ago 2008-02-14 10:19:16
smatz@openttd.org
(svn r12138) -Fix: do not allow adding tram to rail-road crossing when there is a vehicle on it
1 file changed with 1 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/road_cmd.cpp
Show inline comments
 
@@ -458,6 +458,7 @@ CommandCost CmdBuildRoad(TileIndex tile,
 
					if (HasBit(GetRoadTypes(tile), rt)) return_cmd_error(STR_1007_ALREADY_BUILT);
 
					all_bits = GetCrossingRoadBits(tile);
 
					if (pieces & ComplementRoadBits(all_bits)) goto do_clear;
 
					if (!EnsureNoVehicleOnGround(tile)) return CMD_ERROR;
 
					break;
 

	
 
				default:
0 comments (0 inline, 0 general)