From bff51b251a66f82f544461240a6ae46d34d30e10 Mon Sep 17 00:00:00 2001 From: Spoike Date: Wed, 22 Feb 2006 23:48:29 +0000 Subject: [PATCH] Fix the logic with gl_font git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2010 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/gl/gl_draw.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engine/gl/gl_draw.c b/engine/gl/gl_draw.c index d38648a1c..6ea47ff1b 100644 --- a/engine/gl/gl_draw.c +++ b/engine/gl/gl_draw.c @@ -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;