- Fixed wrong argument format in voxeldef parser code.

It got revealed by the GCCPRINTF format addition to FScanner::ScriptMessage.
This commit is contained in:
Edoardo Prezioso 2016-12-10 13:47:19 +01:00 committed by Christoph Oelckers
parent 8036719f45
commit d92a814e8c

View file

@ -456,7 +456,7 @@ static bool VOX_ReadSpriteNames(FScanner &sc, TArray<DWORD> &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
{