From 8260a0d2068652fc139a17a4ff7443766788a7c2 Mon Sep 17 00:00:00 2001 From: Spoike Date: Wed, 17 Jun 2009 21:57:45 +0000 Subject: [PATCH] Doesn't look like indexes are actually needed first here (this should fix the issues with the md5s that electro has). git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3225 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/common/com_mesh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/common/com_mesh.c b/engine/common/com_mesh.c index 20e91aa10..39d1ddddf 100644 --- a/engine/common/com_mesh.c +++ b/engine/common/com_mesh.c @@ -4074,7 +4074,7 @@ galiasinfo_t *Mod_ParseMD5MeshModel(char *buffer) buffer = COM_Parse(buffer); num = atoi(com_token); - if (num < 0 || num >= numverts || !indexes) + if (num < 0 || num >= numverts) MD5ERROR0PARAM("MD5MESH: vertex out of range"); EXPECT("(");