fixed crash
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@431 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
@@ -919,7 +919,7 @@ bool FASTCALL instrumentTrack::play( const midiTime & _start,
|
||||
trackContentObject * tco = getTCO( _tco_num );
|
||||
tcos.push_back( tco );
|
||||
bb_track = bbTrack::findBBTrack( _tco_num, eng() );
|
||||
if( !( bb_track->automationDisabled( this )
|
||||
if( bb_track != NULL && !( bb_track->automationDisabled( this )
|
||||
|| dynamic_cast<pattern *>( tco )->empty() ) )
|
||||
{
|
||||
sendMidiTime( _start );
|
||||
|
||||
Reference in New Issue
Block a user