better error output
This commit is contained in:
@@ -309,7 +309,7 @@ void Checkpoints::SetCheckpoint( const char *file, int line, const char *message
|
|||||||
slot = GetUnknownThreadSlot();
|
slot = GetUnknownThreadSlot();
|
||||||
/* We can't ASSERT here, since that uses checkpoints. */
|
/* We can't ASSERT here, since that uses checkpoints. */
|
||||||
if( slot == NULL )
|
if( slot == NULL )
|
||||||
sm_crash();
|
sm_crash( "GetUnknownThreadSlot() returned NULL" );
|
||||||
|
|
||||||
slot->Checkpoints[slot->CurCheckpoint].Set( file, line, message );
|
slot->Checkpoints[slot->CurCheckpoint].Set( file, line, message );
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user