Move ASSERT_Ms to debugging and replace with warns, include <array>
(See feedback in PR) Co-authored-by: sukibaby <[email protected]>
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
#include "CommonMetrics.h"
|
||||
#include "GameLoop.h"
|
||||
|
||||
#include <array>
|
||||
#include <vector>
|
||||
|
||||
#define LINE_NAMES THEME->GetMetric (m_sName,"LineNames")
|
||||
|
||||
+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