aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;