better error output

This commit is contained in:
Glenn Maynard
2004-06-16 00:29:52 +00:00
parent 4aa1d94a35
commit 91e3269798
+1 -1
View File
@@ -309,7 +309,7 @@ void Checkpoints::SetCheckpoint( const char *file, int line, const char *message
slot = GetUnknownThreadSlot();
/* We can't ASSERT here, since that uses checkpoints. */
if( slot == NULL )
sm_crash();
sm_crash( "GetUnknownThreadSlot() returned NULL" );
slot->Checkpoints[slot->CurCheckpoint].Set( file, line, message );