Changeset - r13868:ac8f3ac859fe
[Not reviewed]
master
0 1 0
rubidium - 14 years ago 2009-12-04 22:02:37
rubidium@openttd.org
(svn r18407) -Fix [FS#3338]: aqueducts were not influenced by the "long bridges" setting
1 file changed with 2 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/tunnelbridge_cmd.cpp
Show inline comments
 
@@ -241,6 +241,8 @@ CommandCost CmdBuildBridge(TileIndex end
 
	if (transport_type != TRANSPORT_WATER) {
 
		/* set and test bridge length, availability */
 
		if (!CheckBridge_Stuff(bridge_type, bridge_len, flags)) return_cmd_error(STR_ERROR_CAN_T_BUILD_BRIDGE_HERE);
 
	} else {
 
		if (bridge_len > (_settings_game.construction.longbridges ? 100U : 16U)) return_cmd_error(STR_ERROR_CAN_T_BUILD_BRIDGE_HERE);
 
	}
 

	
 
	/* retrieve landscape height and ensure it's on land */
0 comments (0 inline, 0 general)