diff options
author | Max Horn | 2003-09-07 00:00:35 +0000 |
---|---|---|
committer | Max Horn | 2003-09-07 00:00:35 +0000 |
commit | 76961a90c061d9af3e953dbc2ffcb4e14c24cccd (patch) | |
tree | fe04a65fd5452ebc3d75acc7428c463138531a81 | |
parent | 4e07649c972732dd9a97c77927cf9039e65f450b (diff) | |
download | scummvm-rg350-76961a90c061d9af3e953dbc2ffcb4e14c24cccd.tar.gz scummvm-rg350-76961a90c061d9af3e953dbc2ffcb4e14c24cccd.tar.bz2 scummvm-rg350-76961a90c061d9af3e953dbc2ffcb4e14c24cccd.zip |
added an assert
svn-id: r10054
-rw-r--r-- | scumm/player_v2.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scumm/player_v2.cpp b/scumm/player_v2.cpp index 0084766ec2..2d92178674 100644 --- a/scumm/player_v2.cpp +++ b/scumm/player_v2.cpp @@ -480,6 +480,7 @@ void Player_V2::stopSound(int nr) { } void Player_V2::startSound(int nr, byte *data) { + assert(data); mutex_up(); int cprio = _current_data ? *(_current_data + _header_len) : 0; |