aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2013-12-15 13:28:42 -0500
committerPaul Gilbert2013-12-15 13:28:42 -0500
commit2f3bb44f5e00c34bd852b65ce8aa04a34941526b (patch)
tree55fd60625b7334800eee3cd77fb982e991af20c8
parent8eae02966998007397a056c99b7e236c30d88bf1 (diff)
downloadscummvm-rg350-2f3bb44f5e00c34bd852b65ce8aa04a34941526b.tar.gz
scummvm-rg350-2f3bb44f5e00c34bd852b65ce8aa04a34941526b.tar.bz2
scummvm-rg350-2f3bb44f5e00c34bd852b65ce8aa04a34941526b.zip
VOYEUR: Fix for loading bolt groups
-rw-r--r--engines/voyeur/files.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/voyeur/files.cpp b/engines/voyeur/files.cpp
index ec95664165..8d0b1a63a4 100644
--- a/engines/voyeur/files.cpp
+++ b/engines/voyeur/files.cpp
@@ -255,7 +255,7 @@ BoltGroup *BoltFile::getBoltGroup(uint32 id) {
if (_state._curGroupPtr->_callInitGro)
initGro();
- if ((id >> 16) != 0) {
+ if ((id >> 8) != 0) {
id &= 0xff00;
for (int idx = 0; idx < _state._curGroupPtr->_count; ++idx, ++id) {
byte *member = getBoltMember(id);