mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 14:51:40 +00:00
- fixed: The font init code must check textures, not the file system for existence of required data.
This commit is contained in:
parent
5c392a220d
commit
48b3a60e6d
1 changed files with 1 additions and 1 deletions
|
@ -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");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue