load stcfnt even without SBARDEF

This commit is contained in:
Roman Fomin 2024-11-30 13:04:26 +07:00
parent 6abbfdf997
commit 3ba6c84663

View File

@ -31,7 +31,6 @@
#include "doomtype.h"
#include "hu_command.h"
#include "hu_obituary.h"
#include "i_system.h"
#include "i_video.h"
#include "info.h"
#include "m_array.h"
@ -1805,6 +1804,9 @@ void ST_Init(void)
{
sbardef = ST_ParseSbarDef();
stcfnt = LoadSTCFN();
hu_font = stcfnt->characters;
if (!sbardef)
{
return;
@ -1812,9 +1814,6 @@ void ST_Init(void)
LoadFacePatches();
stcfnt = LoadSTCFN();
hu_font = stcfnt->characters;
HU_InitCrosshair();
HU_InitCommandHistory();
HU_InitObituaries();