- fixed: The font init code must check textures, not the file system for existence of required data.

This commit is contained in:
Christoph Oelckers 2020-09-26 19:57:53 +02:00
parent 5c392a220d
commit 48b3a60e6d

View file

@ -786,7 +786,7 @@ void V_InitFonts()
}
if (!(IntermissionFont = FFont::FindFont("IntermissionFont")))
{
if (fileSystem.CheckNumForName("WINUM0") >= 0)
if (TexMan.CheckForTexture("WINUM0", ETextureType::MiscPatch).isValid())
{
IntermissionFont = FFont::FindFont("IntermissionFont_Doom");
}