mirror of
https://github.com/id-Software/DOOM-3-BFG.git
synced 2025-01-31 13:40:48 +00:00
Fixed wrong assert
This commit is contained in:
parent
55cc6b3946
commit
bc6d7fbb8c
2 changed files with 5 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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 ) );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue