Move ASSERT_Ms to debugging and replace with warns, include <array>
(See feedback in PR) Co-authored-by: sukibaby <163092272+sukibaby@users.noreply.github.com>
This commit is contained in:
+4
-1
@@ -621,7 +621,10 @@ bool SongManager::HasPackIni(RString sSongGroup) const
|
||||
{
|
||||
return group->HasPackIni();
|
||||
}
|
||||
ASSERT_M( 0, ssprintf("requested pack.ini for song group '%s' that doesn't exist",sSongGroup.c_str()) );
|
||||
LOG->Warn("Requested pack.ini for song group '%s' that doesn't exist", sSongGroup.c_str());
|
||||
#ifdef DEBUG
|
||||
ASSERT_M( 0, ssprintf("requested pack.ini for song group '%s' that doesn't exist",sSongGroup.c_str()) );
|
||||
#endif
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user