1
0
Fork 0
forked from fte/fteqw

Fix the logic with gl_font

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2010 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2006-02-22 23:48:29 +00:00
parent 12c3b6b96e
commit bff51b251a

View file

@ -2256,8 +2256,8 @@ void GL_Set2D (void)
{
gl_font.modified = 0;
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=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;