diff options
author | Paul Gilbert | 2014-04-08 22:04:43 -0400 |
---|---|---|
committer | Paul Gilbert | 2014-04-08 22:04:43 -0400 |
commit | 531ebab4da814aac23a9b084772a6156bfb3b9b8 (patch) | |
tree | d30f2483c62590706428a90738cf53135381a3d8 /engines/mads/nebular/dialogs_nebular.cpp | |
parent | cd77110093c32f07b84325684ada9a425bdf6c93 (diff) | |
download | scummvm-rg350-531ebab4da814aac23a9b084772a6156bfb3b9b8.tar.gz scummvm-rg350-531ebab4da814aac23a9b084772a6156bfb3b9b8.tar.bz2 scummvm-rg350-531ebab4da814aac23a9b084772a6156bfb3b9b8.zip |
MADS: Added preliminary keyboard handling and keypress process stub
Diffstat (limited to 'engines/mads/nebular/dialogs_nebular.cpp')
-rw-r--r-- | engines/mads/nebular/dialogs_nebular.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/mads/nebular/dialogs_nebular.cpp b/engines/mads/nebular/dialogs_nebular.cpp index 871e10416d..13019d589c 100644 --- a/engines/mads/nebular/dialogs_nebular.cpp +++ b/engines/mads/nebular/dialogs_nebular.cpp @@ -78,11 +78,12 @@ bool CopyProtectionDialog::show() { _vm->_events->showCursor(); // TODO: Replace with text input - while (!_vm->shouldQuit() && !_vm->_events->_keyPressed && + while (!_vm->shouldQuit() && !_vm->_events->isKeyPressed() && !_vm->_events->_mouseClicked) { _vm->_events->delay(1); } + _vm->_events->_pendingKeys.clear(); return true; } |