diff options
-rw-r--r-- | engines/parallaction/disk_br.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/parallaction/disk_br.cpp b/engines/parallaction/disk_br.cpp index 7131596fb8..0a331ad069 100644 --- a/engines/parallaction/disk_br.cpp +++ b/engines/parallaction/disk_br.cpp @@ -437,7 +437,8 @@ void AmigaDisk_br::init() { const Common::String subDirNames[3] = { "fonts", "backs", "common" }; const Common::String subDirPrefixes[3] = { "fonts", "backs", Common::String::emptyString }; - for (int i = 0; i < 3; i++) + uint numDir = (_vm->getFeatures() & GF_DEMO) ? 2 : 3; + for (uint i = 0; i < numDir; i++) _sset.add(subDirNames[i], _baseDir->getSubDirectory(subDirPrefixes[i], subDirNames[i], 2), 6); } |