From 467f564f1a30da0350e72b2bc91b9b650a7fc0d0 Mon Sep 17 00:00:00 2001 From: Mark Olsen Date: Fri, 19 Aug 2005 15:42:56 +0000 Subject: [PATCH] Fix for minimal build. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1235 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/gl/gl_model.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/engine/gl/gl_model.c b/engine/gl/gl_model.c index 039bdf4f4..b1b4ea8ff 100644 --- a/engine/gl/gl_model.c +++ b/engine/gl/gl_model.c @@ -684,6 +684,7 @@ couldntload: default: //check for text based headers COM_Parse((char*)buf); +#ifdef MD5MODELS if (!strcmp(com_token, "MD5Version")) { GLMod_LoadMD5MeshModel (mod, buf); @@ -695,6 +696,7 @@ couldntload: break; } else +#endif { Con_Printf("Unrecognised model format %i\n", LittleLong(*(unsigned *)buf)); goto couldntload;