Skip to content

Commit

Permalink
MOHAWK: Add missing break in switch, CID 1003750
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Torbjörn Andersson committed Aug 20, 2013
1 parent 50ef208 commit 85ba787
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions engines/mohawk/myst_stacks/myst.cpp
Expand Up @@ -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) {
Expand Down

0 comments on commit 85ba787

Please sign in to comment.