[Scummvm-cvs-logs] SF.net SVN: scummvm: [29871] scummvm/trunk/engines/lure/events.cpp
dreammaster at users.sourceforge.net
dreammaster at users.sourceforge.net
Sun Dec 16 09:11:52 CET 2007
Revision: 29871
http://scummvm.svn.sourceforge.net/scummvm/?rev=29871&view=rev
Author: dreammaster
Date: 2007-12-16 00:11:52 -0800 (Sun, 16 Dec 2007)
Log Message:
-----------
Changed interruptableDelay method to not break when a modifier key is pressed
Modified Paths:
--------------
scummvm/trunk/engines/lure/events.cpp
Modified: scummvm/trunk/engines/lure/events.cpp
===================================================================
--- scummvm/trunk/engines/lure/events.cpp 2007-12-16 08:10:47 UTC (rev 29870)
+++ scummvm/trunk/engines/lure/events.cpp 2007-12-16 08:11:52 UTC (rev 29871)
@@ -205,7 +205,7 @@
if (events.quitFlag) return true;
if (events.pollEvent()) {
- if ((events.type() == Common::EVENT_KEYDOWN) ||
+ if (((events.type() == Common::EVENT_KEYDOWN) && (events.event().kbd.ascii != 0)) ||
(events.type() == Common::EVENT_LBUTTONDOWN))
return true;
}
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