[Scummvm-cvs-logs] SF.net SVN: scummvm:[40657] scummvm/trunk/engines/kyra/kyra_v1.cpp
lordhoto at users.sourceforge.net
lordhoto at users.sourceforge.net
Sun May 17 23:52:31 CEST 2009
Revision: 40657
http://scummvm.svn.sourceforge.net/scummvm/?rev=40657&view=rev
Author: lordhoto
Date: 2009-05-17 21:52:31 +0000 (Sun, 17 May 2009)
Log Message:
-----------
Handle keyboard button press immediately.
Modified Paths:
--------------
scummvm/trunk/engines/kyra/kyra_v1.cpp
Modified: scummvm/trunk/engines/kyra/kyra_v1.cpp
===================================================================
--- scummvm/trunk/engines/kyra/kyra_v1.cpp 2009-05-17 15:59:04 UTC (rev 40656)
+++ scummvm/trunk/engines/kyra/kyra_v1.cpp 2009-05-17 21:52:31 UTC (rev 40657)
@@ -315,8 +315,14 @@
keys = 110;
break;
default:
+ keys = 0;
break;
}
+
+ // When we got an keypress we might handle, break the event loop
+ // and pass it to GUI code.
+ if (keys)
+ breakLoop = true;
}
break;
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