Fix for minimal build.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1235 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Mark Olsen 2005-08-19 15:42:56 +00:00
parent 9350d79073
commit 467f564f1a

View file

@ -684,6 +684,7 @@ couldntload:
default: default:
//check for text based headers //check for text based headers
COM_Parse((char*)buf); COM_Parse((char*)buf);
#ifdef MD5MODELS
if (!strcmp(com_token, "MD5Version")) if (!strcmp(com_token, "MD5Version"))
{ {
GLMod_LoadMD5MeshModel (mod, buf); GLMod_LoadMD5MeshModel (mod, buf);
@ -695,6 +696,7 @@ couldntload:
break; break;
} }
else else
#endif
{ {
Con_Printf("Unrecognised model format %i\n", LittleLong(*(unsigned *)buf)); Con_Printf("Unrecognised model format %i\n", LittleLong(*(unsigned *)buf));
goto couldntload; goto couldntload;