aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/players/player_ad.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/scumm/players/player_ad.cpp')
-rw-r--r--engines/scumm/players/player_ad.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/scumm/players/player_ad.cpp b/engines/scumm/players/player_ad.cpp
index 7f0f449a92..40f4ec93c9 100644
--- a/engines/scumm/players/player_ad.cpp
+++ b/engines/scumm/players/player_ad.cpp
@@ -97,6 +97,7 @@ void Player_AD::startSound(int sound) {
// Query the sound resource
const byte *res = _vm->getResourceAddress(rtSound, sound);
+ assert(res);
if (res[2] == 0x80) {
// Stop the current sounds