mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-10 14:42:13 +00:00
Allow 'gl_font creditsfont' (and potentially others) for eukara.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5435 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
dc999091aa
commit
15b1e813a4
1 changed files with 6 additions and 3 deletions
|
@ -2144,8 +2144,11 @@ struct font_s *Font_LoadFont(const char *fontfilename, float vheight)
|
|||
if (f->faces < MAX_FACES)
|
||||
{
|
||||
size_t lumpsize;
|
||||
qbyte lumptype;
|
||||
void *lumpdata;
|
||||
qbyte lumptype = 0;
|
||||
void *lumpdata = NULL;
|
||||
if ((!lumpdata || lumptype != TYP_HLFONT) && *fontfilename)
|
||||
lumpdata = W_GetLumpName(fontfilename, &lumpsize, &lumptype);
|
||||
if (!lumpdata || lumptype != TYP_HLFONT)
|
||||
lumpdata = W_GetLumpName("conchars", &lumpsize, &lumptype);
|
||||
if (lumpdata && lumptype == TYP_HLFONT)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue