Acesta este un FIX pentru eroarea care apare daca ai lycan si vrei sa folosesti debug:
Assertion failed!
Expression: CheckMeshIndex(iMesh)
For information on how your program can cause an assertion failure, see the Visual C++ documentation on asserts
(Press Retry to debug the application - JIT must be enabled)
*Link download / Code:
Deschidem EterGrnLib/Model.cpp si cautam:
Code:
CGrannyMesh * CGrannyModel::GetMeshPointer(int iMesh)
{
assert(CheckMeshIndex(iMesh));
assert(m_meshs != NULL);
return m_meshs + iMesh;
}