Codechange: convert printf DEBUG statements to fmt Debug statements
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user