allow access to individual BroadcastOnChangePtrs within BroadcastOnChangePtr1D
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user