1608. The obligation of the debtor to pay damages to the creditor is neither reduced nor altered by the fact that the creditor receives a prestation from a third person, as a result of the injury he has sustained, except so far as the third person is subrogated to the rights of the creditor.