fix radar values don't get recalculated after changing steps in editor

fix radar values shown for edits if copied from official steps
This commit is contained in:
Chris Danford
2005-04-03 21:43:29 +00:00
parent 3c5a892b27
commit 9d16a66f77
4 changed files with 35 additions and 18 deletions
+2
View File
@@ -1812,10 +1812,12 @@ void ScreenEdit::HandleMainMenuChoice( MainMenuChoice c, const vector<int> &iAns
m_CurrentAction = c;
// copy edit into current Steps
Song* pSong = GAMESTATE->m_pCurSong;
Steps* pSteps = GAMESTATE->m_pCurSteps[PLAYER_1];
ASSERT( pSteps );
pSteps->SetNoteData( m_NoteDataEdit );
pSteps->CalculateRadarValues( pSong->m_fMusicLengthSeconds );
if( HOME_EDIT_MODE )
{