Browse Source

Fix compile error in debug builds.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@774 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
aramis_acg 15 years ago
parent
commit
b18d782231
1 changed files with 1 additions and 1 deletions
  1. 1 1
      code/Q3BSPFileImporter.cpp

+ 1 - 1
code/Q3BSPFileImporter.cpp

@@ -316,7 +316,7 @@ void Q3BSPFileImporter::createTriangleTopology( const Q3BSP::Q3BSPModel *pModel,
 											  aiMesh* pMesh, unsigned int &rFaceIdx, 
 											  unsigned int &rVertIdx )
 {
-	ai_assert( faceIdx < pMesh->mNumFaces );
+	ai_assert( rFaceIdx < pMesh->mNumFaces );
 	aiFace *pFace = &pMesh->mFaces[ rFaceIdx ];
 	ai_assert( NULL != pFace );
 	rFaceIdx++;