Use fmt::format for LOGMESSAGERENDER

The format string can be checked at compile time. It will be easier to
transition to `std::format`.
This commit is contained in:
phosit committed 2026-10-05 20:29:25 +02:00
1 parent 43cb3100b6
commit d686708c92
10 files changed
+21 -17

No files matched your search

+1 -1
View File
@@ -190,7 +190,7 @@ void DumpTerrainMipmap()
g_Game->GetWorld()->GetTerrain().GetHeightMipmap().DumpToDisk(filename);
OsPath realPath;
g_VFS->GetRealPath(filename, realPath);
LOGMESSAGERENDER("Terrain mipmap written to '%s'", realPath.string8());
LOGMESSAGERENDER("Terrain mipmap written to '{}'", realPath.string8());
}
void RegisterScriptFunctions(const Script::Request& rq)