From 332983c97b7a729c4dc5f19aa9ee4a22c420f7d8 Mon Sep 17 00:00:00 2001 From: Kae <80987908+Novaenia@users.noreply.github.com> Date: Tue, 27 Jun 2023 20:23:44 +1000 Subject: The Formatting String Catastrophe --- source/rendering/StarTilePainter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/rendering/StarTilePainter.cpp') diff --git a/source/rendering/StarTilePainter.cpp b/source/rendering/StarTilePainter.cpp index dce4fac..68e1110 100644 --- a/source/rendering/StarTilePainter.cpp +++ b/source/rendering/StarTilePainter.cpp @@ -310,7 +310,7 @@ bool TilePainter::produceTerrainPrimitives(HashMaptexture; else - texture = strf("%s?hueshift=%s", piece->texture, materialHueToDegrees(hue)); + texture = strf("{}?hueshift={}", piece->texture, materialHueToDegrees(hue)); return m_textureGroup->create(*assets->image(texture)); }); -- cgit v1.2.3