aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Howell2009-03-15 09:51:02 +0000
committerTravis Howell2009-03-15 09:51:02 +0000
commit08638c5f772667ea70807bd8780164f0084df147 (patch)
tree1022728cc4f29bfff175bc43c29e2b39e920cb74
parente27d2f71448c1978e3be115cca3ef84a930a0dce (diff)
downloadscummvm-rg350-08638c5f772667ea70807bd8780164f0084df147.tar.gz
scummvm-rg350-08638c5f772667ea70807bd8780164f0084df147.tar.bz2
scummvm-rg350-08638c5f772667ea70807bd8780164f0084df147.zip
The Amiga demo of BRA doesn't have quite as many icons.
svn-id: r39415
-rw-r--r--engines/parallaction/disk_br.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/parallaction/disk_br.cpp b/engines/parallaction/disk_br.cpp
index 6915c63c27..57e413e354 100644
--- a/engines/parallaction/disk_br.cpp
+++ b/engines/parallaction/disk_br.cpp
@@ -626,6 +626,9 @@ GfxObj* AmigaDisk_br::loadObjects(const char *name, uint8 part) {
free(pal);
uint16 max = objectsMax[part];
+ if (_vm->getFeatures() & GF_DEMO)
+ max = 72;
+
byte *data = new byte[max * 2601];
// Convert to the expected display format