[Scummvm-cvs-logs] SF.net SVN: scummvm:[52850] scummvm/trunk/engines/drascula/converse.cpp
eriktorbjorn at users.sourceforge.net
eriktorbjorn at users.sourceforge.net
Tue Sep 21 22:51:45 CEST 2010
Revision: 52850
http://scummvm.svn.sourceforge.net/scummvm/?rev=52850&view=rev
Author: eriktorbjorn
Date: 2010-09-21 20:51:45 +0000 (Tue, 21 Sep 2010)
Log Message:
-----------
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.
Modified Paths:
--------------
scummvm/trunk/engines/drascula/converse.cpp
Modified: scummvm/trunk/engines/drascula/converse.cpp
===================================================================
--- scummvm/trunk/engines/drascula/converse.cpp 2010-09-21 19:50:30 UTC (rev 52849)
+++ scummvm/trunk/engines/drascula/converse.cpp 2010-09-21 20:51:45 UTC (rev 52850)
@@ -211,6 +211,7 @@
}
updateEvents();
+ flushKeyBuffer();
phrase1_bottom = 8 * print_abc_opc(phrase1, 2, game1);
phrase2_bottom = phrase1_bottom + 8 * print_abc_opc(phrase2, phrase1_bottom + 2, game2);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list