File diff r15281:67f5f7a17ea3 → r15282:8e9c51163c93
src/misc_cmd.cpp
Show inline comments
 
@@ -230,7 +230,7 @@ CommandCost CmdGiveMoney(TileIndex tile,
 

	
 
	if (flags & DC_EXEC) {
 
		/* Add money to company */
 
		Backup<CompanyByte> cur_company(_current_company, dest_company);
 
		Backup<CompanyByte> cur_company(_current_company, dest_company, FILE_LINE);
 
		SubtractMoneyFromCompany(CommandCost(EXPENSES_OTHER, -amount.GetCost()));
 
		cur_company.Restore();
 
	}