diff options
author | Littleboy | 2012-08-21 23:02:39 -0400 |
---|---|---|
committer | Littleboy | 2012-08-27 21:49:39 -0400 |
commit | bc4e10dabca5b76283eb6fb431702ccd92a001c0 (patch) | |
tree | 4ae26e03f1fc051b40d817078d1c6c6731d29368 /engines/lastexpress/sound | |
parent | 2c0033c7bad5b15c9bcccbce804e244a17a7f891 (diff) | |
download | scummvm-rg350-bc4e10dabca5b76283eb6fb431702ccd92a001c0.tar.gz scummvm-rg350-bc4e10dabca5b76283eb6fb431702ccd92a001c0.tar.bz2 scummvm-rg350-bc4e10dabca5b76283eb6fb431702ccd92a001c0.zip |
LASTEXPRESS: Remove some unreachable code
Diffstat (limited to 'engines/lastexpress/sound')
-rw-r--r-- | engines/lastexpress/sound/entry.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/engines/lastexpress/sound/entry.cpp b/engines/lastexpress/sound/entry.cpp index f2a063e45f..3d22657124 100644 --- a/engines/lastexpress/sound/entry.cpp +++ b/engines/lastexpress/sound/entry.cpp @@ -116,10 +116,8 @@ void SoundEntry::close() { } void SoundEntry::play() { - if (!_stream) { + if (!_stream) error("[SoundEntry::play] stream has been disposed"); - return; - } // Prepare sound stream if (!_soundStream) |