From 870e0341bb0ae1c35f69b02b636ccf6d27f9030d Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Thu, 23 Jul 2009 07:49:28 +0000 Subject: Correct error in revision 26678. svn-id: r42673 --- engines/scumm/boxes.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines') 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]; -- cgit v1.2.3