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:
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
+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;
}