diff options
author | Willem Jan Palenstijn | 2009-02-14 22:46:54 +0000 |
---|---|---|
committer | Willem Jan Palenstijn | 2009-02-14 22:46:54 +0000 |
commit | 3f3921333530f32a584937db0641771c57095eaa (patch) | |
tree | 7070405966a9ebcee37b3e9a75b97990a33d5530 | |
parent | 7853ff65db072c3a80c2b206fec645ec3d0c5046 (diff) | |
download | scummvm-rg350-3f3921333530f32a584937db0641771c57095eaa.tar.gz scummvm-rg350-3f3921333530f32a584937db0641771c57095eaa.tar.bz2 scummvm-rg350-3f3921333530f32a584937db0641771c57095eaa.zip |
ignore any keypresses in the volume control dialog
svn-id: r38183
-rw-r--r-- | engines/drascula/sound.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/drascula/sound.cpp b/engines/drascula/sound.cpp index 51517280ba..41bebdbe59 100644 --- a/engines/drascula/sound.cpp +++ b/engines/drascula/sound.cpp @@ -72,6 +72,10 @@ void DrasculaEngine::volumeControls() { updateEvents(); + // we're ignoring keypresses, so just empty the keyboard buffer + while (getScan()) + ; + if (rightMouseButton == 1) { delay(100); break; |