Change >= to >, I THINK having exactly 4096 vertices is safe?

This commit is contained in:
Monster Iestyn 2016-11-05 17:38:36 +00:00
parent efe02e2a42
commit 8909b7c27b
1 changed files with 1 additions and 1 deletions

View File

@ -309,7 +309,7 @@ static md2_model_t *md2_readModel(const char *filename)
model->header.numSkins = 1;
#define MD2LIMITCHECK(field, max, msgname) \
if (field >= max) \
if (field > max) \
{ \
CONS_Alert(CONS_ERROR, "md2_readModel: %s has too many " msgname " (# found: %d, maximum: %d)\n", filename, field, max); \
md2_freeModel (model); \