diff options
author | Bastien Bouclet | 2012-12-16 13:51:21 +0100 |
---|---|---|
committer | Bastien Bouclet | 2012-12-16 13:51:21 +0100 |
commit | fb38d7c04e94a96fa50abd277829ba3cd836d985 (patch) | |
tree | de314ad560a3bd4c753c16daefc9bf2a0a02f775 /engines/mohawk | |
parent | 80a30286a2e2707bf7a7269a8192ebe729379c2a (diff) | |
download | scummvm-rg350-fb38d7c04e94a96fa50abd277829ba3cd836d985.tar.gz scummvm-rg350-fb38d7c04e94a96fa50abd277829ba3cd836d985.tar.bz2 scummvm-rg350-fb38d7c04e94a96fa50abd277829ba3cd836d985.zip |
MOHAWK: Fix an uninitialized var usage in Mechanical
Thanks to digitall for the report
Diffstat (limited to 'engines/mohawk')
-rw-r--r-- | engines/mohawk/myst_stacks/mechanical.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/mohawk/myst_stacks/mechanical.cpp b/engines/mohawk/myst_stacks/mechanical.cpp index 9e688899b0..ce6f902851 100644 --- a/engines/mohawk/myst_stacks/mechanical.cpp +++ b/engines/mohawk/myst_stacks/mechanical.cpp @@ -39,6 +39,8 @@ Mechanical::Mechanical(MohawkEngine_Myst *vm) : MystScriptParser(vm), _state(vm->_gameState->_mechanical) { setupOpcodes(); + _elevatorGoingMiddle = false; + _mystStaircaseState = false; _fortressPosition = 0; _fortressRotationSpeed = 0; |