[Scummvm-cvs-logs] SF.net SVN: scummvm:[39415] scummvm/trunk/engines/parallaction/disk_br.cpp

Kirben at users.sourceforge.net Kirben at users.sourceforge.net
Sun Mar 15 10:51:02 CET 2009


Revision: 39415
          http://scummvm.svn.sourceforge.net/scummvm/?rev=39415&view=rev
Author:   Kirben
Date:     2009-03-15 09:51:02 +0000 (Sun, 15 Mar 2009)

Log Message:
-----------
The Amiga demo of BRA doesn't have quite as many icons.

Modified Paths:
--------------
    scummvm/trunk/engines/parallaction/disk_br.cpp

Modified: scummvm/trunk/engines/parallaction/disk_br.cpp
===================================================================
--- scummvm/trunk/engines/parallaction/disk_br.cpp	2009-03-15 09:39:16 UTC (rev 39414)
+++ scummvm/trunk/engines/parallaction/disk_br.cpp	2009-03-15 09:51:02 UTC (rev 39415)
@@ -626,6 +626,9 @@
 	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


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list