From 17887c713e89917db1daf07004079b9f33fb86a7 Mon Sep 17 00:00:00 2001 From: Le Philousophe Date: Sun, 5 May 2019 12:30:57 +0200 Subject: CRYOMNI3D: Reset key pressed Without that we have spurious presses when there is no event --- engines/cryomni3d/fixed_image.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'engines/cryomni3d') 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) { -- cgit v1.2.3