Skip to content

Commit

Permalink
Disable check for invalid areamask size
Browse files Browse the repository at this point in the history
This check is not in ET final normal release, but it is in the GPL source release.

Affects asdrun1

Refs #41
  • Loading branch information
ensiform committed Jul 7, 2021
1 parent b7302e3 commit 4a7b987
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/client/cl_parse.c
Original file line number Diff line number Diff line change
Expand Up @@ -397,8 +397,8 @@ static void CL_ParseSnapshot( msg_t *msg ) {

if ( newSnap.areabytes > sizeof(newSnap.areamask) )
{
Com_Error( ERR_DROP,"CL_ParseSnapshot: Invalid size %d for areamask", newSnap.areabytes );
return;
//Com_Error( ERR_DROP,"CL_ParseSnapshot: Invalid size %d for areamask", newSnap.areabytes );
//return;
}

MSG_ReadData( msg, &newSnap.areamask, newSnap.areabytes );
Expand Down

0 comments on commit 4a7b987

Please sign in to comment.