fix crash changing songs in nonstop if one player failed and the other player hasn't
This commit is contained in:
@@ -398,7 +398,7 @@ void Player::Load( const NoteData& noteData )
|
|||||||
|
|
||||||
float fNoteFieldMiddle = (GRAY_ARROWS_Y_STANDARD+GRAY_ARROWS_Y_REVERSE)/2;
|
float fNoteFieldMiddle = (GRAY_ARROWS_Y_STANDARD+GRAY_ARROWS_Y_REVERSE)/2;
|
||||||
|
|
||||||
if( m_pNoteField )
|
if( m_pNoteField && !bOniDead )
|
||||||
{
|
{
|
||||||
m_pNoteField->SetY( fNoteFieldMiddle );
|
m_pNoteField->SetY( fNoteFieldMiddle );
|
||||||
m_pNoteField->Load( &m_NoteData, iStartDrawingAtPixels, iStopDrawingAtPixels );
|
m_pNoteField->Load( &m_NoteData, iStartDrawingAtPixels, iStopDrawingAtPixels );
|
||||||
|
|||||||
Reference in New Issue
Block a user