diff options
Diffstat (limited to 'engines/sherlock/resources.cpp')
-rw-r--r-- | engines/sherlock/resources.cpp | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/engines/sherlock/resources.cpp b/engines/sherlock/resources.cpp index f6fbded9b1..456006a86a 100644 --- a/engines/sherlock/resources.cpp +++ b/engines/sherlock/resources.cpp @@ -102,11 +102,13 @@ Common::SeekableReadStream *Cache::get(const Common::String &filename) const { Resources::Resources(SherlockEngine *vm): _vm(vm), _cache(vm) { _resourceIndex = -1; - addToCache("vgs.lib"); - addToCache("talk.lib"); - addToCache("sequence.txt"); - addToCache("journal.txt"); - addToCache("portrait.lib"); + if (_vm->_interactiveFl) { + addToCache("vgs.lib"); + addToCache("talk.lib"); + addToCache("sequence.txt"); + addToCache("journal.txt"); + addToCache("portrait.lib"); + } } /** |