diff options
Diffstat (limited to 'source/mvd_parse.c')
-rw-r--r-- | source/mvd_parse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/mvd_parse.c b/source/mvd_parse.c index dc8b52a..1ac3339 100644 --- a/source/mvd_parse.c +++ b/source/mvd_parse.c @@ -871,7 +871,7 @@ static void MVD_ParseFrame( mvd_t *mvd ) { if( length < 0 || msg_read.readcount + length > msg_read.cursize ) { MVD_Destroyf( mvd, "%s: read past end of message", __func__ ); } - if( length > MAX_MAP_AREAS/8 ) { + if( length > MAX_MAP_PORTAL_BYTES ) { MVD_Destroyf( mvd, "%s: bad portalbits length: %d", __func__, length ); } CM_SetPortalStates( &mvd->cm, msg_read.data + |