Add: [GS] Allow to set max loan for each company separately (#11224)
This commit is contained in:
		| @@ -3280,6 +3280,12 @@ bool AfterLoadGame() | ||||
| 		} | ||||
| 	} | ||||
|  | ||||
| 	if (IsSavegameVersionBefore(SLV_MAX_LOAN_FOR_COMPANY)) { | ||||
| 		for (Company *c : Company::Iterate()) { | ||||
| 			c->max_loan = COMPANY_MAX_LOAN_DEFAULT; | ||||
| 		} | ||||
| 	} | ||||
|  | ||||
| 	for (Company *c : Company::Iterate()) { | ||||
| 		UpdateCompanyLiveries(c); | ||||
| 	} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 dP
					dP