diff options
author | Eugene Sandulenko | 2011-12-13 00:38:57 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2011-12-13 00:39:50 +0000 |
commit | 22d3118aff380aa301443275953fb1af7624d136 (patch) | |
tree | c3b24fde412361b694f9833525e1d86aa2d913b7 /engines | |
parent | 8a9eaa58dfc163da4e1588dcf45faae5f1e62f15 (diff) | |
download | scummvm-rg350-22d3118aff380aa301443275953fb1af7624d136.tar.gz scummvm-rg350-22d3118aff380aa301443275953fb1af7624d136.tar.bz2 scummvm-rg350-22d3118aff380aa301443275953fb1af7624d136.zip |
AGI: Fix bug #3095169: AGI inventory items
Diffstat (limited to 'engines')
-rw-r--r-- | engines/agi/objects.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/agi/objects.cpp b/engines/agi/objects.cpp index 94eef92579..447cff2a3f 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; } |