From d92a814e8cf92b258c7ee422f0bc14b8de8b665a Mon Sep 17 00:00:00 2001 From: Edoardo Prezioso Date: Sat, 10 Dec 2016 13:47:19 +0100 Subject: [PATCH] - Fixed wrong argument format in voxeldef parser code. It got revealed by the GCCPRINTF format addition to FScanner::ScriptMessage. --- src/r_data/voxels.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/r_data/voxels.cpp b/src/r_data/voxels.cpp index 7c7876243f..d81220ea8f 100644 --- a/src/r_data/voxels.cpp +++ b/src/r_data/voxels.cpp @@ -456,7 +456,7 @@ static bool VOX_ReadSpriteNames(FScanner &sc, TArray &vsprites) } else if (sc.StringLen == 5 && (sc.String[4] = toupper(sc.String[4]), sc.String[4] < 'A' || sc.String[4] >= 'A' + MAX_SPRITE_FRAMES)) { - sc.ScriptMessage("Sprite frame %s is invalid.\n", sc.String[4]); + sc.ScriptMessage("Sprite frame %c is invalid.\n", sc.String[4]); } else {