File diff r3490:2997e05fe018 → r3491:10ed78e15d31
bridge_gui.c
Show inline comments
 
@@ -128,7 +128,7 @@ void ShowBuildBridgeWindow(TileIndex sta
 

	
 
	// only query bridge building possibility once, result is the same for all bridges!
 
	// returns CMD_ERROR on failure, and price on success
 
	ret = DoCommandByTile(end, start, (bridge_type << 8), DC_AUTO | DC_QUERY_COST, CMD_BUILD_BRIDGE);
 
	ret = DoCommand(end, start, (bridge_type << 8), DC_AUTO | DC_QUERY_COST, CMD_BUILD_BRIDGE);
 

	
 
	if (CmdFailed(ret)) {
 
		errmsg = _error_message;