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:
Crash Cringle
2025-03-03 23:25:32 -08:00
committed by teejusb
parent 437f72b13d
commit 694a724770
2 changed files with 5 additions and 1 deletions
+1
View File
@@ -17,6 +17,7 @@
#include "CommonMetrics.h"
#include "GameLoop.h"
#include <array>
#include <vector>
#define LINE_NAMES THEME->GetMetric (m_sName,"LineNames")
+4 -1
View File
@@ -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;
}