diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/avalanche/avalot.cpp | 2 | ||||
-rw-r--r-- | engines/avalanche/parser.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/engines/avalanche/avalot.cpp b/engines/avalanche/avalot.cpp index 229159fafe..3069c8aef9 100644 --- a/engines/avalanche/avalot.cpp +++ b/engines/avalanche/avalot.cpp @@ -107,7 +107,7 @@ void Avalot::handleKeyDown(Common::Event &event) { case Common::KEYCODE_HOME: case Common::KEYCODE_END: case Common::KEYCODE_KP5: - if (_vm->_gyro->alive) { + if (_vm->_gyro->alive && _vm->_gyro->dna.avvy_is_awake) { _vm->_trip->handleMoveKey(event); // Fallthroughs are intended. _vm->_lucerna->showrw(); if (_vm->_gyro->demo) diff --git a/engines/avalanche/parser.h b/engines/avalanche/parser.h index 6b9240011c..cac8aa22b7 100644 --- a/engines/avalanche/parser.h +++ b/engines/avalanche/parser.h @@ -35,9 +35,9 @@ class AvalancheEngine; class Parser { public: - Common::String _inputText; + Common::String _inputText; // Original name: current Common::String _inputTextBackup; - byte _inputTextPos; + byte _inputTextPos; // Original name: curpos bool _quote; // 66 or 99 next? byte _leftMargin; bool _cursorState; |