aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/resource.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2010-12-02 17:03:21 +0000
committerJohannes Schickel2010-12-02 17:03:21 +0000
commitc14399c22979b475cd5aa1ba6aa793d8f36011fa (patch)
tree4bce2f59d1ef7bd1e1b87ef34014fb0e76abebd7 /engines/sci/resource.cpp
parent4fe03f1b664a71c323ba9de16c95e492540a211c (diff)
downloadscummvm-rg350-c14399c22979b475cd5aa1ba6aa793d8f36011fa.tar.gz
scummvm-rg350-c14399c22979b475cd5aa1ba6aa793d8f36011fa.tar.bz2
scummvm-rg350-c14399c22979b475cd5aa1ba6aa793d8f36011fa.zip
SCI: Slight formatting fix.
svn-id: r54737
Diffstat (limited to 'engines/sci/resource.cpp')
-rw-r--r--engines/sci/resource.cpp13
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();
}