[Scummvm-cvs-logs] scummvm master -> 22d3118aff380aa301443275953fb1af7624d136

sev- sev at scummvm.org
Tue Dec 13 01:42:11 CET 2011


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
22d3118aff AGI: Fix bug #3095169: AGI inventory items


Commit: 22d3118aff380aa301443275953fb1af7624d136
    https://github.com/scummvm/scummvm/commit/22d3118aff380aa301443275953fb1af7624d136
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2011-12-12T16:39:50-08:00

Commit Message:
AGI: Fix bug #3095169: AGI inventory items

Changed paths:
    engines/agi/objects.cpp



diff --git a/engines/agi/objects.cpp b/engines/agi/objects.cpp
index 94eef92..447cff2 100644
--- a/engines/agi/objects.cpp
+++ b/engines/agi/objects.cpp
@@ -52,7 +52,7 @@ int AgiEngine::decodeObjects(uint8 *mem, uint32 flen) {
 
 	// alloc memory for object list
 	// byte 3 = number of animated objects. this is ignored.. ??
-	if (READ_LE_UINT16(mem) / padsize >= 256) {
+	if (READ_LE_UINT16(mem) / padsize > 256) {
 		// die with no error! AGDS game needs not to die to work!! :(
 		return errOK;
 	}






More information about the Scummvm-git-logs mailing list