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;