assert: remove assert with more than one statement and use only ai_assert.
This commit is contained in:
@@ -448,7 +448,8 @@ void HMPImporter::CreateOutputFaceList(unsigned int width,unsigned int height)
|
||||
void HMPImporter::ReadFirstSkin(unsigned int iNumSkins, const unsigned char* szCursor,
|
||||
const unsigned char** szCursorOut)
|
||||
{
|
||||
ai_assert(0 != iNumSkins && NULL != szCursor);
|
||||
ai_assert( 0 != iNumSkins );
|
||||
ai_assert( nullptr != szCursor);
|
||||
|
||||
// read the type of the skin ...
|
||||
// sometimes we need to skip 12 bytes here, I don't know why ...
|
||||
|
||||
Reference in New Issue
Block a user