diff options
author | Bastien Bouclet | 2011-11-03 19:08:10 +0100 |
---|---|---|
committer | Bastien Bouclet | 2011-11-03 19:08:10 +0100 |
commit | 26c5a1f3a4390a64bca109440c9f2023a0553bfe (patch) | |
tree | 7c7f155781cef5cc08a2746dd4879623c169ae9a /engines/mohawk | |
parent | d43af8da796ffc243aff31b8ae31aac714be651d (diff) | |
download | scummvm-rg350-26c5a1f3a4390a64bca109440c9f2023a0553bfe.tar.gz scummvm-rg350-26c5a1f3a4390a64bca109440c9f2023a0553bfe.tar.bz2 scummvm-rg350-26c5a1f3a4390a64bca109440c9f2023a0553bfe.zip |
MOHAWK: Fix an incorrect state update in Myst / Stoneship.
Thanks to sev and clone2727 for respectively spotting and fixing the issue.
Diffstat (limited to 'engines/mohawk')
-rw-r--r-- | engines/mohawk/myst_stacks/stoneship.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/mohawk/myst_stacks/stoneship.cpp b/engines/mohawk/myst_stacks/stoneship.cpp index e0c374a926..4c715b56e4 100644 --- a/engines/mohawk/myst_stacks/stoneship.cpp +++ b/engines/mohawk/myst_stacks/stoneship.cpp @@ -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; } |