also look in charsets for quake character sets

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1636 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
TimeServ 2005-11-30 02:53:08 +00:00
parent 21b5d68685
commit 18b062a0fe

View file

@ -2152,7 +2152,9 @@ void GL_Set2D (void)
if (gl_font.modified)
{
gl_font.modified = 0;
if (!*gl_font.string || !(char_texture=Mod_LoadHiResTexture(gl_font.string, "fonts", false, true, true)))
if (!*gl_font.string
|| !(char_texture=Mod_LoadHiResTexture(gl_font.string, "fonts", false, true, true))
|| !(char_texture=Mod_LoadHiResTexture(gl_font.string, "charsets", false, true, true)))
{
char_texture = default_char_texture;
custom_char_instep = default_char_instep;