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:
alexey.lysiuk 2017-02-18 10:34:27 +02:00
parent 013e52fabd
commit 0ffd475d8c

View file

@ -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;
} }