Fixed wrong assert

This commit is contained in:
Robert Beckebans 2012-12-07 21:24:45 +01:00
parent 55cc6b3946
commit bc6d7fbb8c
2 changed files with 5 additions and 2 deletions

View file

@ -91,7 +91,7 @@ bool AssertFailed( const char* file, int line, const char* expression )
// RB end
{
#ifdef _WIN32
#ifdef _MSC_VERS
#ifdef _MSC_VER
__debugbreak();
#else
// DG: mingw support

View file

@ -686,7 +686,10 @@ void R_AddSingleModel( viewEntity_t* vEntity )
{
assert( tri->staticModelWithJoints == NULL );
R_DeriveTangents( tri );
assert( false ); // this should no longer be hit
// RB: this was hit by parametric particle models ..
//assert( false ); // this should no longer be hit
// RB end
}
tri->ambientCache = vertexCache.AllocVertex( tri->verts, ALIGN( tri->numVerts * sizeof( idDrawVert ), VERTEX_CACHE_ALIGN ) );
}