replace ASSERT(0) with useful fail messages
This commit is contained in:
+1
-2
@@ -1144,8 +1144,7 @@ Song *SongManager::GetSongFromSteps( Steps *pSteps ) const
|
||||
}
|
||||
}
|
||||
}
|
||||
ASSERT(0);
|
||||
return NULL;
|
||||
FAIL_M("No song found for steps");
|
||||
}
|
||||
|
||||
void SongManager::DeleteSteps( Steps *pSteps )
|
||||
|
||||
Reference in New Issue
Block a user