aboutsummaryrefslogtreecommitdiff
path: root/engines/cryomni3d
diff options
context:
space:
mode:
authorLe Philousophe2019-05-05 12:30:57 +0200
committerEugene Sandulenko2019-06-01 22:43:48 +0200
commit17887c713e89917db1daf07004079b9f33fb86a7 (patch)
treed5e07bf4d453d65bb99dbd73fc6ec0c671c92371 /engines/cryomni3d
parent36405f483f588b6153e617f122834818394329d2 (diff)
downloadscummvm-rg350-17887c713e89917db1daf07004079b9f33fb86a7.tar.gz
scummvm-rg350-17887c713e89917db1daf07004079b9f33fb86a7.tar.bz2
scummvm-rg350-17887c713e89917db1daf07004079b9f33fb86a7.zip
CRYOMNI3D: Reset key pressed
Without that we have spurious presses when there is no event
Diffstat (limited to 'engines/cryomni3d')
-rw-r--r--engines/cryomni3d/fixed_image.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/cryomni3d/fixed_image.cpp b/engines/cryomni3d/fixed_image.cpp
index 08bc78e595..d4b9f37e0c 100644
--- a/engines/cryomni3d/fixed_image.cpp
+++ b/engines/cryomni3d/fixed_image.cpp
@@ -183,6 +183,7 @@ void ZonFixedImage::manage() {
_zoneUse = false;
_zoneSpeak = false;
_usedObject = nullptr;
+ _key.reset();
// Force poll events even when we must refresh the cursor
if (!_engine.pollEvents() && !_refreshCursor) {