(svn r7798) [cbh] - Codechange: Disable the construction of signals on bridge heads, because they prove to be ... problematic. Actually this has re-started the discussion of a map rewrite, so stay tuned custombridgeheads
authorcelestar
Wed, 03 Jan 2007 15:01:15 +0000
branchcustombridgeheads
changeset 5646 2b8e95ff2022
parent 5645 72ebd9e4cd64
child 5647 cbde85c8c878
(svn r7798) [cbh] - Codechange: Disable the construction of signals on bridge heads, because they prove to be ... problematic. Actually this has re-started the discussion of a map rewrite, so stay tuned
src/rail_cmd.c
--- a/src/rail_cmd.c	Wed Jan 03 08:56:09 2007 +0000
+++ b/src/rail_cmd.c	Wed Jan 03 15:01:15 2007 +0000
@@ -653,7 +653,7 @@
 	pre_signal = HASBIT(p1, 3);
 
 	if (!ValParamTrackOrientation(track) ||
-			!(IsTileType(tile, MP_RAILWAY) || IsTileType(tile, MP_RAILWAY_BRIDGE)) ||
+			!(IsTileType(tile, MP_RAILWAY) /* || IsTileType(tile, MP_RAILWAY_BRIDGE) */ ) ||
 			!EnsureNoVehicle(tile)) {
 		return CMD_ERROR;
 	}