Fix cgame warnings

This commit is contained in:
Tim Angus 2014-09-01 10:47:15 +01:00
parent 621a72e698
commit 4444202a41
7 changed files with 6 additions and 13 deletions

View file

@ -65,7 +65,7 @@ CG_FreeMarkPoly
==================
*/
void CG_FreeMarkPoly( markPoly_t *le ) {
if ( !le->prevMark ) {
if ( !le->prevMark || !le->nextMark ) {
CG_Error( "CG_FreeLocalEntity: not active" );
}