[Scummvm-cvs-logs] SF.net SVN: scummvm: [28468] scummvm/trunk/engines/parallaction/dialogue. cpp
peres001 at users.sourceforge.net
peres001 at users.sourceforge.net
Mon Aug 6 10:45:59 CEST 2007
Revision: 28468
http://scummvm.svn.sourceforge.net/scummvm/?rev=28468&view=rev
Author: peres001
Date: 2007-08-06 01:45:59 -0700 (Mon, 06 Aug 2007)
Log Message:
-----------
User can now quit (using shortcuts) when asked for ingame protection code.
Modified Paths:
--------------
scummvm/trunk/engines/parallaction/dialogue.cpp
Modified: scummvm/trunk/engines/parallaction/dialogue.cpp
===================================================================
--- scummvm/trunk/engines/parallaction/dialogue.cpp 2007-08-06 08:44:14 UTC (rev 28467)
+++ scummvm/trunk/engines/parallaction/dialogue.cpp 2007-08-06 08:45:59 UTC (rev 28468)
@@ -258,9 +258,10 @@
// FIXME: see comment for updateInput()
if (!g_system->getEventManager()->pollEvent(e)) continue;
- if (e.type != Common::EVENT_KEYDOWN) continue;
if (e.type == Common::EVENT_QUIT)
g_system->quit();
+
+ if (e.type != Common::EVENT_KEYDOWN) continue;
if (!isdigit(e.kbd.ascii)) continue;
password[passwordLen] = e.kbd.ascii;
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