assert: remove assert with more than one statement and use only ai_assert.

This commit is contained in:
Kim Kulling
2017-08-14 22:20:26 +02:00
parent 974eb669c8
commit dab0985994
13 changed files with 30 additions and 31 deletions

View File

@@ -243,7 +243,6 @@ const unsigned int* MeshGeometry::ToOutputVertexIndex( unsigned int in_index, un
ai_assert( m_mapping_counts.size() == m_mapping_offsets.size() );
count = m_mapping_counts[ in_index ];
// ai_assert( count != 0 );
ai_assert( m_mapping_offsets[ in_index ] + count <= m_mappings.size() );
return &m_mappings[ m_mapping_offsets[ in_index ] ];