Revert "Preserve Steps of unknown Style."

This reverts commit 8edd929e24.

This also updates the song cache.
This commit is contained in:
Jason Felds
2014-10-19 10:06:40 -04:00
parent a09e3477b2
commit 395107d3d5
8 changed files with 10 additions and 54 deletions
+1 -9
View File
@@ -258,16 +258,8 @@ float Steps::PredictMeter() const
void Steps::TidyUpData()
{
// Don't set the StepsType to dance single if it's invalid. That just
// causes unrecognized charts to end up where they don't belong.
// Leave it as StepsType_Invalid so the Song can handle it specially. This
// is a forwards compatibility feature, so that if a future version adds a
// new style, editing a simfile with unrecognized Steps won't silently
// delete them. -Kyz
if( m_StepsType == StepsType_Invalid )
{
LOG->Warn("Detected steps with unknown style '%s' in '%s'", m_StepsTypeStr.c_str(), m_pSong->m_sSongFileName.c_str());
}
m_StepsType = StepsType_dance_single;
if( GetDifficulty() == Difficulty_Invalid )
SetDifficulty( StringToDifficulty(GetDescription()) );