[Scummvm-cvs-logs] SF.net SVN: scummvm:[35715] scummvm/trunk/engines/scumm/akos.cpp

Kirben at users.sourceforge.net Kirben at users.sourceforge.net
Sun Jan 4 06:19:53 CET 2009


Revision: 35715
          http://scummvm.svn.sourceforge.net/scummvm/?rev=35715&view=rev
Author:   Kirben
Date:     2009-01-04 05:19:52 +0000 (Sun, 04 Jan 2009)

Log Message:
-----------
Fix assert triggered when sorting out meals in Blue's 123 Time Activies.

Modified Paths:
--------------
    scummvm/trunk/engines/scumm/akos.cpp

Modified: scummvm/trunk/engines/scumm/akos.cpp
===================================================================
--- scummvm/trunk/engines/scumm/akos.cpp	2009-01-04 03:49:23 UTC (rev 35714)
+++ scummvm/trunk/engines/scumm/akos.cpp	2009-01-04 05:19:52 UTC (rev 35715)
@@ -408,7 +408,7 @@
 		uint j = 0;
 		extra = p[3];
 		uint8 n = extra;
-		assert(n < ARRAYSIZE(heCondMaskIndex));
+		assert(n <= ARRAYSIZE(heCondMaskIndex));
 		while (n--) {
 			heCondMaskIndex[j++] = aksq[s++];
 		}


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