remove useless assert

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10585 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
auria
2012-01-07 23:06:10 +00:00
parent 4406a28f3a
commit ca4da84bae

View File

@@ -103,7 +103,6 @@ void TriangleMesh::createCollisionShape(bool create_collision_object, const char
btOptimizedBvh* bhv = btOptimizedBvh::deSerializeInPlace(bytes, pos, !IS_LITTLE_ENDIAN);
bhv_triangle_mesh = new btBvhTriangleMeshShape(&m_mesh, true /* useQuantizedAabbCompression */,
false /* buildBvh */);
assert(bhv->isQuantized());
bhv_triangle_mesh->setOptimizedBvh( bhv );
// Do *NOT* free the bytes, 'deSerializeInPlace' makes the btOptimizedBvh object