From 1e1fcc471bfe0b1f0b5d15746344881255b1cf05 Mon Sep 17 00:00:00 2001 From: Jonathan G Rennison Date: Mon, 30 Jan 2017 19:45:53 +0000 Subject: [PATCH] Replace leftover debug print from veh repair fix with scope info fmt. Fixes c6b1decaf --- src/vehicle.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vehicle.cpp b/src/vehicle.cpp index d5346d61ba..9634f04579 100644 --- a/src/vehicle.cpp +++ b/src/vehicle.cpp @@ -1168,7 +1168,7 @@ void CallVehicleTicks() Backup 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;