send parent
This commit is contained in:
@@ -36,7 +36,7 @@ void Foreground::LoadFromSong( const Song *pSong )
|
||||
RString sBGName = change.m_def.m_sFile1;
|
||||
|
||||
LoadedBGA bga;
|
||||
bga.m_bga = ActorUtil::MakeActor( pSong->GetSongDir() + sBGName );
|
||||
bga.m_bga = ActorUtil::MakeActor( pSong->GetSongDir() + sBGName, this );
|
||||
bga.m_bga->PlayCommand( "On" );
|
||||
bga.m_fStartBeat = change.m_fStartBeat;
|
||||
bga.m_bFinished = false;
|
||||
|
||||
@@ -30,7 +30,7 @@ void GhostArrowRow::Load( const PlayerState* pPlayerState, float fYReverseOffset
|
||||
m_bHoldIsActive.push_back( false );
|
||||
m_bHoldWasActive.push_back( false );
|
||||
|
||||
m_Ghost.push_back( ActorUtil::MakeActor( NOTESKIN->GetPath(sButton, "tap explosion") ) );
|
||||
m_Ghost.push_back( ActorUtil::MakeActor( NOTESKIN->GetPath(sButton, "tap explosion"), this ) );
|
||||
m_Ghost[c]->SetName( "GhostArrow" );
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user