allow access to individual BroadcastOnChangePtrs within BroadcastOnChangePtr1D

This commit is contained in:
Chris Danford
2005-02-25 18:17:26 +00:00
parent 03e3ba7609
commit 071f02a862
17 changed files with 43 additions and 37 deletions
+3 -3
View File
@@ -1148,7 +1148,7 @@ void ScreenEdit::InputEdit( const DeviceInput& DeviceI, const InputEventType typ
}
pSteps = *it;
GAMESTATE->m_pCurSteps.Set( PLAYER_1, pSteps );
GAMESTATE->m_pCurSteps[PLAYER_1].Set( pSteps );
m_pSteps = pSteps;
pSteps->GetNoteData( m_NoteDataEdit );
SCREENMAN->SystemMessage( ssprintf(
@@ -1593,7 +1593,7 @@ void ScreenEdit::HandleScreenMessage( const ScreenMessage SM )
StepsID id;
id.FromSteps( m_pSteps );
GAMESTATE->m_pCurSteps.Set( PLAYER_1, NULL ); /* make RevertFromDisk not try to reset it */
GAMESTATE->m_pCurSteps[PLAYER_1].Set( NULL ); /* make RevertFromDisk not try to reset it */
SONGMAN->RevertFromDisk( GAMESTATE->m_pCurSong );
CString sMessage = "Reloaded from disk.";
@@ -1625,7 +1625,7 @@ void ScreenEdit::HandleScreenMessage( const ScreenMessage SM )
SCREENMAN->SystemMessage( sMessage );
m_pSteps = pSteps;
GAMESTATE->m_pCurSteps.Set( PLAYER_1, pSteps );
GAMESTATE->m_pCurSteps[PLAYER_1].Set( pSteps );
m_pSteps->GetNoteData( m_NoteDataEdit );
break;