diff options
author | Johannes Schickel | 2010-12-02 17:03:21 +0000 |
---|---|---|
committer | Johannes Schickel | 2010-12-02 17:03:21 +0000 |
commit | c14399c22979b475cd5aa1ba6aa793d8f36011fa (patch) | |
tree | 4bce2f59d1ef7bd1e1b87ef34014fb0e76abebd7 | |
parent | 4fe03f1b664a71c323ba9de16c95e492540a211c (diff) | |
download | scummvm-rg350-c14399c22979b475cd5aa1ba6aa793d8f36011fa.tar.gz scummvm-rg350-c14399c22979b475cd5aa1ba6aa793d8f36011fa.tar.bz2 scummvm-rg350-c14399c22979b475cd5aa1ba6aa793d8f36011fa.zip |
SCI: Slight formatting fix.
svn-id: r54737
-rw-r--r-- | engines/sci/resource.cpp | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/engines/sci/resource.cpp b/engines/sci/resource.cpp index e02488ec34..1805b09cbe 100644 --- a/engines/sci/resource.cpp +++ b/engines/sci/resource.cpp @@ -872,13 +872,12 @@ void ResourceManager::init(bool initFromFallbackDetector) { scanNewSources(); if (!initFromFallbackDetector) { - if (!addInternalSources()) - { - // FIXME: This error message is not always correct. - // OTOH, it is nice to be able to detect missing files/sources - // So we should definitely fix addInternalSources so this error - // only pops up when necessary. Disabling for now. - // error("Somehow I can't seem to find the sound files I need (RESOURCE.AUD/RESOURCE.SFX), aborting"); + if (!addInternalSources()) { + // FIXME: This error message is not always correct. + // OTOH, it is nice to be able to detect missing files/sources + // So we should definitely fix addInternalSources so this error + // only pops up when necessary. Disabling for now. + //error("Somehow I can't seem to find the sound files I need (RESOURCE.AUD/RESOURCE.SFX), aborting"); } scanNewSources(); } |