diff options
-rw-r--r-- | src/economy.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/economy.cpp b/src/economy.cpp index b4fd7e7e7..0e7f99b18 100644 --- a/src/economy.cpp +++ b/src/economy.cpp @@ -523,7 +523,7 @@ void ChangeOwnershipOfCompanyItems(Owner old_owner, Owner new_owner) static void CompanyCheckBankrupt(Company *c) { /* If the company has money again, it does not go bankrupt */ - if (c->money >= 0) { + if (c->money - c->current_loan >= -_economy.max_loan) { c->quarters_of_bankruptcy = 0; c->bankrupt_asked = 0; return; |