Replace leftover debug print from veh repair fix with scope info fmt.

Fixes c6b1decaf
This commit is contained in:
Jonathan G Rennison
2017-01-30 19:45:53 +00:00
parent cfc04c6408
commit 1e1fcc471b

View File

@@ -1168,7 +1168,7 @@ void CallVehicleTicks()
Backup<CompanyByte> repair_cur_company(_current_company, FILE_LINE); Backup<CompanyByte> repair_cur_company(_current_company, FILE_LINE);
for (Vehicle *v : _vehicles_to_pay_repair) { for (Vehicle *v : _vehicles_to_pay_repair) {
DEBUG(misc, 0, "CallVehicleTicks: repair: %s", scope_dumper().VehicleInfo(v)); SCOPE_INFO_FMT([v], "CallVehicleTicks: repair: %s", scope_dumper().VehicleInfo(v));
ExpensesType type = INVALID_EXPENSES; ExpensesType type = INVALID_EXPENSES;
_current_company = v->owner; _current_company = v->owner;