aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/riven.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/mohawk/riven.cpp')
-rw-r--r--engines/mohawk/riven.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/mohawk/riven.cpp b/engines/mohawk/riven.cpp
index ea3e2ce7ec..0cd6b4f62e 100644
--- a/engines/mohawk/riven.cpp
+++ b/engines/mohawk/riven.cpp
@@ -203,8 +203,11 @@ void MohawkEngine_Riven::doFrame() {
_sound->updateSLST();
_video->updateMovies();
- Common::Event event;
+ if (!_scriptMan->hasQueuedScripts()) {
+ _stack->keyResetAction();
+ }
+ Common::Event event;
while (_eventMan->pollEvent(event)) {
switch (event.type) {
case Common::EVENT_MOUSEMOVE: