- stupid typo...

This commit is contained in:
Christoph Oelckers 2022-10-20 19:06:07 +02:00
parent ba8a334862
commit ca8897028f

View file

@ -92,7 +92,7 @@ TArray<PalEntry> TranslationColors;
FFont *V_GetFont(const char *name, const char *fontlumpname) FFont *V_GetFont(const char *name, const char *fontlumpname)
{ {
if (name != nullptr) return nullptr; if (name == nullptr) return nullptr;
if (!stricmp(name, "DBIGFONT")) name = "BigFont"; if (!stricmp(name, "DBIGFONT")) name = "BigFont";
else if (!stricmp(name, "CONFONT")) name = "ConsoleFont"; // several mods have used the name CONFONT directly and effectively duplicated the font. else if (!stricmp(name, "CONFONT")) name = "ConsoleFont"; // several mods have used the name CONFONT directly and effectively duplicated the font.
else if (!stricmp(name, "INDEXFON")) name = "IndexFont"; // Same here - for whatever reason some people had to use its 8 character name... else if (!stricmp(name, "INDEXFON")) name = "IndexFont"; // Same here - for whatever reason some people had to use its 8 character name...