Replacing use of CalculateRadarValues with CalculateStepStats, and ReCalculateRadarValuesAndLastSecond with ReCalculateStepStatsAndLastSecond

This commit is contained in:
Michael Votaw
2024-07-23 19:36:11 -05:00
committed by teejusb
parent afa44ee4df
commit bd897b676a
3 changed files with 12 additions and 11 deletions
+2 -2
View File
@@ -3438,7 +3438,7 @@ void ScreenEdit::TransitionEditState( EditState em )
Steps* pSteps = GAMESTATE->m_pCurSteps[main_player_];
ASSERT(pSteps != nullptr);
pSteps->SetNoteData(m_NoteDataEdit);
m_pSong->ReCalculateRadarValuesAndLastSecond();
m_pSong->ReCalculateStepStatsAndLastSecond();
// TODO: Background videos don't support seeking, when they do, make sure
// to load the appropriate part of the video.
@@ -4472,7 +4472,7 @@ void ScreenEdit::PerformSave(bool autosave)
ASSERT( m_pSteps->IsAnEdit() );
RString sError;
m_pSteps->CalculateRadarValues( m_pSong->m_fMusicLengthSeconds );
m_pSteps->CalculateStepStats( m_pSong->m_fMusicLengthSeconds );
if( !NotesWriterSM::WriteEditFileToMachine(m_pSong, m_pSteps, sError) )
{
ScreenPrompt::Prompt( SM_None, sError );