Revert "Preserve Steps of unknown Style."
This reverts commit 8edd929e24.
This also updates the song cache.
This commit is contained in:
+1
-9
@@ -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()) );
|
||||
|
||||
Reference in New Issue
Block a user