Quick fix to Billing address on template

This is not the full answer but would not hurt to have anyway?
We need a billing address to be saved against an order if it has not been filled out eg: use shipping address.
I'm trying to work it out but a wee bit stuck because Order.php>getBillingAddress() is doing weird things...