mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-02 16:31:01 +00:00
Fixed bug when typing protection code.
svn-id: r26847
This commit is contained in:
parent
da658640ff
commit
ada3424d8a
@ -212,7 +212,8 @@ uint16 Parallaction::askDialoguePassword(Dialogue *q, StaticCnv *face) {
|
||||
// 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_QUIT)
|
||||
g_system->quit();
|
||||
if (!isdigit(e.kbd.ascii)) continue;
|
||||
|
||||
password[passwordLen] = e.kbd.ascii;
|
||||
|
Loading…
x
Reference in New Issue
Block a user