diff options
Diffstat (limited to 'src/viewport.cpp')
-rw-r--r-- | src/viewport.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/viewport.cpp b/src/viewport.cpp index f9310dac8..d0b2cef2b 100644 --- a/src/viewport.cpp +++ b/src/viewport.cpp @@ -2363,7 +2363,7 @@ bool HandleViewportClicked(const Viewport *vp, int x, int y) bool result = CheckClickOnLandscape(vp, x, y); if (v != nullptr) { - DEBUG(misc, 2, "Vehicle %d (index %d) at %p", v->unitnumber, v->index, v); + Debug(misc, 2, "Vehicle {} (index {}) at {}", v->unitnumber, v->index, fmt::ptr(v)); if (IsCompanyBuildableVehicleType(v)) { v = v->First(); if (_ctrl_pressed && v->owner == _local_company) { |