From c63553c234c84f27554bbf28ba3d878587cc8aef Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Tue, 21 Sep 2010 20:51:45 +0000 Subject: DRASCULA: Keep keyboard buffer flushed while waiting for conversation Otherwise buffered-up key presses can cause dialog to be skipped once the player finally picks a conversation option. svn-id: r52850 --- engines/drascula/converse.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'engines/drascula') diff --git a/engines/drascula/converse.cpp b/engines/drascula/converse.cpp index 8fecb682fc..d0906fdf55 100644 --- a/engines/drascula/converse.cpp +++ b/engines/drascula/converse.cpp @@ -211,6 +211,7 @@ void DrasculaEngine::converse(int index) { } updateEvents(); + flushKeyBuffer(); phrase1_bottom = 8 * print_abc_opc(phrase1, 2, game1); phrase2_bottom = phrase1_bottom + 8 * print_abc_opc(phrase2, phrase1_bottom + 2, game2); -- cgit v1.2.3