do not play music while _rows is empty

svn-id: r46345
This commit is contained in:
Vladimir Menshakov 2009-12-12 18:07:20 +00:00
parent 1071c6d398
commit 65ed29b3be

@ -131,6 +131,9 @@ void MusicPlayer::stop() {
}
void MusicPlayer::interrupt() {
if (_rows.empty())
return;
_currRow %= _rows.size();
Row *row = &_rows[_currRow];