mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-18 15:32:33 +00:00
Change >= to >, I THINK having exactly 4096 vertices is safe?
This commit is contained in:
parent
efe02e2a42
commit
8909b7c27b
1 changed files with 1 additions and 1 deletions
|
@ -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); \
|
||||
|
|
Loading…
Reference in a new issue