diff options
author | Travis Howell | 2009-07-23 07:49:28 +0000 |
---|---|---|
committer | Travis Howell | 2009-07-23 07:49:28 +0000 |
commit | 870e0341bb0ae1c35f69b02b636ccf6d27f9030d (patch) | |
tree | 23ce3cb805f0fd8e3436497fddce2bd7771f9d51 /engines | |
parent | 46be9c3a1c0cce6b7d5888eeb46398decd6ff466 (diff) | |
download | scummvm-rg350-870e0341bb0ae1c35f69b02b636ccf6d27f9030d.tar.gz scummvm-rg350-870e0341bb0ae1c35f69b02b636ccf6d27f9030d.tar.bz2 scummvm-rg350-870e0341bb0ae1c35f69b02b636ccf6d27f9030d.zip |
Correct error in revision 26678.
svn-id: r42673
Diffstat (limited to 'engines')
-rw-r--r-- | engines/scumm/boxes.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/scumm/boxes.cpp b/engines/scumm/boxes.cpp index 472e04b5f3..d480209501 100644 --- a/engines/scumm/boxes.cpp +++ b/engines/scumm/boxes.cpp @@ -445,7 +445,7 @@ byte ScummEngine::getNumBoxes() { return 0; if (_game.version == 8) return (byte)READ_LE_UINT32(ptr); - else if (_game.features >= 5) + else if (_game.version >= 5) return (byte)READ_LE_UINT16(ptr); else return ptr[0]; |