Fix potential out of bounds access caused by CM_GridPlane

Coverity doesn't care if there is a warning, out of bounds access is bad.
This commit is contained in:
Zack Middleton 2014-05-25 15:59:09 -05:00
parent 494789664e
commit 9d74227559
1 changed files with 1 additions and 1 deletions

View File

@ -607,7 +607,7 @@ static int CM_GridPlane( int gridPlanes[MAX_GRID_SIZE][MAX_GRID_SIZE][2], int i,
}
// should never happen
Com_Printf( "WARNING: CM_GridPlane unresolvable\n" );
Com_Error( ERR_DROP, "CM_GridPlane unresolvable" );
return -1;
}