diff options
author | Vladimir Menshakov | 2011-06-25 13:40:56 +0400 |
---|---|---|
committer | Vladimir Menshakov | 2011-06-25 13:40:56 +0400 |
commit | a63e5939ed9f88e0609426e0e83c9fc7a90d38ab (patch) | |
tree | 028c5e78649b8612bf4511126cc138a381a2727d /engines/dreamweb/dreamgen.cpp | |
parent | 14a5e0a425877c3540289b37f1695771ca882a44 (diff) | |
download | scummvm-rg350-a63e5939ed9f88e0609426e0e83c9fc7a90d38ab.tar.gz scummvm-rg350-a63e5939ed9f88e0609426e0e83c9fc7a90d38ab.tar.bz2 scummvm-rg350-a63e5939ed9f88e0609426e0e83c9fc7a90d38ab.zip |
DREAMWEB: Fixed quit from keypad screen
Diffstat (limited to 'engines/dreamweb/dreamgen.cpp')
-rw-r--r-- | engines/dreamweb/dreamgen.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/dreamweb/dreamgen.cpp b/engines/dreamweb/dreamgen.cpp index 954b08eeec..253b49a8c9 100644 --- a/engines/dreamweb/dreamgen.cpp +++ b/engines/dreamweb/dreamgen.cpp @@ -14360,10 +14360,14 @@ void DreamGenContext::entercode() { data.word(kPresspointer) = 0; data.byte(kGetback) = 0; keypadloop: + _cmp(data.byte(kQuitrequested), 0); + if (!flags.z()) + goto numberright; delpointer(); readmouse(); showkeypad(); showpointer(); + vsync(); _cmp(data.byte(kPresscount), 0); if (flags.z()) goto nopresses; @@ -14630,7 +14634,6 @@ void DreamGenContext::showkeypad() { di = (36+112)+31; bx = (72)+59; singlekey(); - vsync(); _cmp(data.byte(kLightcount), 0); if (flags.z()) return /* (notenter) */; |