mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-03 08:40:59 +00:00
do not play music while _rows is empty
svn-id: r46345
This commit is contained in:
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];
|
||||
|
Loading…
x
Reference in New Issue
Block a user