aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThierry Crozat2015-09-08 08:48:50 +0100
committerThierry Crozat2015-09-08 08:48:50 +0100
commit834955959802dce12286bbeed3e5f628a3236c86 (patch)
treeb8f34a382c3ebc33ff93af37b5726ce522e31a65
parentab612df33854c74eae7dab6f2cda78588313ddbc (diff)
downloadscummvm-rg350-834955959802dce12286bbeed3e5f628a3236c86.tar.gz
scummvm-rg350-834955959802dce12286bbeed3e5f628a3236c86.tar.bz2
scummvm-rg350-834955959802dce12286bbeed3e5f628a3236c86.zip
MORTEVIELLE: Fix loading of BRUITS file
This was broken in previous commit when adding support for versions that do not have this file.
-rw-r--r--engines/mortevielle/sound.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/engines/mortevielle/sound.cpp b/engines/mortevielle/sound.cpp
index 70fb6f8759..f02ccb69ea 100644
--- a/engines/mortevielle/sound.cpp
+++ b/engines/mortevielle/sound.cpp
@@ -145,8 +145,6 @@ void SoundManager::loadNoise() {
error("Missing file - bruit5");
if (f1.open("bruits")) { //Translation: "noise"
- error("Missing file - bruits");
-
assert(f1.size() > 32000);
_noiseBuf = (byte *)malloc(sizeof(byte) * (f1.size() + f5.size()));