aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/myst_stacks/myst.cpp
diff options
context:
space:
mode:
authorTorbjörn Andersson2013-08-20 07:51:53 +0200
committerTorbjörn Andersson2013-08-20 07:59:24 +0200
commit85ba7876d96c851596a4a4a415862f31c492bc96 (patch)
treefb05188601ae4949414a94af2952abff0bdf5f75 /engines/mohawk/myst_stacks/myst.cpp
parent50ef208e311540ca5cb55e98e6af5c7efbaf06f5 (diff)
downloadscummvm-rg350-85ba7876d96c851596a4a4a415862f31c492bc96.tar.gz
scummvm-rg350-85ba7876d96c851596a4a4a415862f31c492bc96.tar.bz2
scummvm-rg350-85ba7876d96c851596a4a4a415862f31c492bc96.zip
MOHAWK: Add missing break in switch, CID 1003750
Clicking on any of the image boxes would fall through to the case where it checks if you are picking up or putting away the white page, which just doesn't make any sense. It didn't have any noticeable impact on the game, because that case only does something if the hiding place for the white page is open, and apparently that can only happen while you're at that hiding place. I have verified that it's still possible to get the white page, and that it's still possible to raise the sunken ship.
Diffstat (limited to 'engines/mohawk/myst_stacks/myst.cpp')
-rw-r--r--engines/mohawk/myst_stacks/myst.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/mohawk/myst_stacks/myst.cpp b/engines/mohawk/myst_stacks/myst.cpp
index f17d765c99..dc5f433ce7 100644
--- a/engines/mohawk/myst_stacks/myst.cpp
+++ b/engines/mohawk/myst_stacks/myst.cpp
@@ -691,6 +691,7 @@ void Myst::toggleVar(uint16 var) {
else
_state.courtyardImageBoxes |= mask;
}
+ break;
case 41: // Vault white page
if (_globals.ending != 4) {
if (_dockVaultState == 1) {