aboutsummaryrefslogtreecommitdiff
path: root/scumm/player_v2.cpp
diff options
context:
space:
mode:
authorMax Horn2003-09-07 00:00:35 +0000
committerMax Horn2003-09-07 00:00:35 +0000
commit76961a90c061d9af3e953dbc2ffcb4e14c24cccd (patch)
treefe04a65fd5452ebc3d75acc7428c463138531a81 /scumm/player_v2.cpp
parent4e07649c972732dd9a97c77927cf9039e65f450b (diff)
downloadscummvm-rg350-76961a90c061d9af3e953dbc2ffcb4e14c24cccd.tar.gz
scummvm-rg350-76961a90c061d9af3e953dbc2ffcb4e14c24cccd.tar.bz2
scummvm-rg350-76961a90c061d9af3e953dbc2ffcb4e14c24cccd.zip
added an assert
svn-id: r10054
Diffstat (limited to 'scumm/player_v2.cpp')
-rw-r--r--scumm/player_v2.cpp1
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;