Skip to content

Commit

Permalink
MOHAWK: Fix an incorrect state update in Myst / Stoneship.
Browse files Browse the repository at this point in the history
Thanks to sev and clone2727 for respectively spotting and fixing the issue.
  • Loading branch information
bgK committed Nov 3, 2011
1 parent d43af8d commit 26c5a1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engines/mohawk/myst_stacks/stoneship.cpp
Expand Up @@ -655,7 +655,7 @@ void Stoneship::o_compassButton(uint16 op, uint16 var, uint16 argc, uint16 *argv
_state.generatorPowerAvailable = 2;
_state.lightState = 0;
_state.generatorDepletionTime = 0;
_state.generatorDepletionTime = 0;
_state.generatorDuration = 0;

_batteryDepleting = false;
}
Expand Down

0 comments on commit 26c5a1f

Please sign in to comment.