diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/mortevielle/mor2.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/engines/mortevielle/mor2.cpp b/engines/mortevielle/mor2.cpp index 25793c817f..c98b399114 100644 --- a/engines/mortevielle/mor2.cpp +++ b/engines/mortevielle/mor2.cpp @@ -220,9 +220,16 @@ void tkey1(bool d) { hideMouse(); fenat('K'); + + // Wait for release from any key or mouse button while (keypressed()) g_key = testou(); - + do { + getMousePos(x, y, c); + keypressed(); + } while (c != 0); + + // Event loop do { if (d) tinke(); |