mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-22 20:21:26 +00:00
Fixed compilation with GCC/Clang
src/r_data/sprites.cpp:805:79: error: cannot pass non-trivial object of type 'FString' to variadic function; expected type from format string was 'char *' [-Wnon-pod-varargs]
This commit is contained in:
parent
013e52fabd
commit
0ffd475d8c
1 changed files with 1 additions and 1 deletions
|
@ -802,7 +802,7 @@ void R_InitSkins (void)
|
||||||
|
|
||||||
if (spr == 0 && maxframe <= 0)
|
if (spr == 0 && maxframe <= 0)
|
||||||
{
|
{
|
||||||
Printf (PRINT_BOLD, "Skin %s (#%u) has no frames. Removing.\n", Skins[i].Name, i);
|
Printf (PRINT_BOLD, "Skin %s (#%u) has no frames. Removing.\n", Skins[i].Name.GetChars(), i);
|
||||||
remove = true;
|
remove = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue