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

Fixes c6b1decaf
pull/11/head
Jonathan G Rennison 7 years ago
parent cfc04c6408
commit 1e1fcc471b

@ -1168,7 +1168,7 @@ void CallVehicleTicks()
Backup<CompanyByte> repair_cur_company(_current_company, FILE_LINE);
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;
_current_company = v->owner;

Loading…
Cancel
Save