Permalink
Browse files

Fix enum case not manage in switch

Add CONTACT_NONE in idClip::GetModelContactFeature().

Signed-off-by: XoD <xoddark@gmail.com>
  • Loading branch information...
xoddark committed Dec 28, 2011
1 parent 62fe98f commit 4bdc958ac68f5e0e3c27e88b066e77aefe18be6c
Showing with 2 additions and 0 deletions.
  1. +2 −0 neo/d3xp/physics/Clip.cpp
@@ -1584,6 +1584,8 @@ bool idClip::GetModelContactFeature( const contactInfo_t &contact, const idClipM
collisionModelManager->GetModelPolygon( handle, contact.modelFeature, winding );
break;
}
+ case CONTACT_NONE:
+ assert(false);
}
}

0 comments on commit 4bdc958

Please sign in to comment.