aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/livingbooks.cpp
diff options
context:
space:
mode:
authorAlyssa Milburn2010-12-12 23:00:46 +0000
committerAlyssa Milburn2010-12-12 23:00:46 +0000
commit1d61c9a50821732fc0d6da994e2e67e88fe60c70 (patch)
treebd9b45dc331f98dfb9dc0b6e7a4ea95f5c0cfd47 /engines/mohawk/livingbooks.cpp
parentc089fb22cd9ff52da48336627e3816215d512657 (diff)
downloadscummvm-rg350-1d61c9a50821732fc0d6da994e2e67e88fe60c70.tar.gz
scummvm-rg350-1d61c9a50821732fc0d6da994e2e67e88fe60c70.tar.bz2
scummvm-rg350-1d61c9a50821732fc0d6da994e2e67e88fe60c70.zip
MOHAWK: Handle kLBGlobalDisable
svn-id: r54893
Diffstat (limited to 'engines/mohawk/livingbooks.cpp')
-rw-r--r--engines/mohawk/livingbooks.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/mohawk/livingbooks.cpp b/engines/mohawk/livingbooks.cpp
index 627df1712d..fe17052b31 100644
--- a/engines/mohawk/livingbooks.cpp
+++ b/engines/mohawk/livingbooks.cpp
@@ -1910,6 +1910,11 @@ void LBItem::readData(uint16 type, uint16 size, Common::SeekableSubReadStreamEnd
_visible = false;
break;
+ case kLBGlobalDisable:
+ assert(size == 0);
+ _globalEnabled = false;
+ break;
+
case kLBGlobalSetNotVisible:
assert(size == 0);
_globalVisible = false;