diff options
author | Alyssa Milburn | 2010-12-12 23:00:46 +0000 |
---|---|---|
committer | Alyssa Milburn | 2010-12-12 23:00:46 +0000 |
commit | 1d61c9a50821732fc0d6da994e2e67e88fe60c70 (patch) | |
tree | bd9b45dc331f98dfb9dc0b6e7a4ea95f5c0cfd47 /engines | |
parent | c089fb22cd9ff52da48336627e3816215d512657 (diff) | |
download | scummvm-rg350-1d61c9a50821732fc0d6da994e2e67e88fe60c70.tar.gz scummvm-rg350-1d61c9a50821732fc0d6da994e2e67e88fe60c70.tar.bz2 scummvm-rg350-1d61c9a50821732fc0d6da994e2e67e88fe60c70.zip |
MOHAWK: Handle kLBGlobalDisable
svn-id: r54893
Diffstat (limited to 'engines')
-rw-r--r-- | engines/mohawk/livingbooks.cpp | 5 | ||||
-rw-r--r-- | engines/mohawk/livingbooks.h | 2 |
2 files changed, 6 insertions, 1 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; diff --git a/engines/mohawk/livingbooks.h b/engines/mohawk/livingbooks.h index 8f401a1110..d5a8442e8e 100644 --- a/engines/mohawk/livingbooks.h +++ b/engines/mohawk/livingbooks.h @@ -137,7 +137,7 @@ enum { kLBEnable = 0x74, // unused? kLBSetNotVisible = 0x75, kLBSetVisible = 0x76, // unused? - kLBGlobalDisable = 0x77, // unused? + kLBGlobalDisable = 0x77, kLBGlobalEnable = 0x78, // unused? kLBGlobalSetNotVisible = 0x79, kLBGlobalSetVisible = 0x7a, // unused? |