From 55a11710a6c0f7942f3947711f2050c34782c39d Mon Sep 17 00:00:00 2001 From: rubidium42 Date: Sat, 12 Jun 2021 09:10:17 +0200 Subject: Codechange: convert printf DEBUG statements to fmt Debug statements --- src/saveload/waypoint_sl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/saveload/waypoint_sl.cpp') diff --git a/src/saveload/waypoint_sl.cpp b/src/saveload/waypoint_sl.cpp index 97e2d12c9..c94a90953 100644 --- a/src/saveload/waypoint_sl.cpp +++ b/src/saveload/waypoint_sl.cpp @@ -103,10 +103,10 @@ void MoveWaypointsToBaseStations() /* Sometimes waypoint (sign) locations became disconnected from their actual location in * the map array. If this is the case, try to locate the actual location in the map array */ if (!IsTileType(t, MP_RAILWAY) || GetRailTileType(t) != 2 /* RAIL_TILE_WAYPOINT */ || _m[t].m2 != wp.index) { - DEBUG(sl, 0, "Found waypoint tile %u with invalid position", t); + Debug(sl, 0, "Found waypoint tile {} with invalid position", t); for (t = 0; t < MapSize(); t++) { if (IsTileType(t, MP_RAILWAY) && GetRailTileType(t) == 2 /* RAIL_TILE_WAYPOINT */ && _m[t].m2 == wp.index) { - DEBUG(sl, 0, "Found actual waypoint position at %u", t); + Debug(sl, 0, "Found actual waypoint position at {}", t); break; } } -- cgit v1.2.3-54-g00ecf