mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-11-08 13:51:45 +00:00
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:
10 files changed
+21
-17
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user