diff --git a/src/newgrf_object.cpp b/src/newgrf_object.cpp --- a/src/newgrf_object.cpp +++ b/src/newgrf_object.cpp @@ -335,7 +335,7 @@ static uint32 GetCountAndDistanceOfClose } unhandled: - DEBUG(grf, 1, "Unhandled object variable 0x%X", variable); + Debug(grf, 1, "Unhandled object variable 0x{:X}", variable); *available = false; return UINT_MAX;