CRYOMNI3D: Reset key pressed

Without that we have spurious presses when there is no event
This commit is contained in:
Le Philousophe 2019-05-05 12:30:57 +02:00 committed by Eugene Sandulenko
parent 36405f483f
commit 17887c713e

View File

@ -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) {