aboutsummaryrefslogtreecommitdiff
path: root/devtools/tasmrecover/dreamweb
diff options
context:
space:
mode:
authorBertrand Augereau2011-09-02 20:54:48 +0200
committerBertrand Augereau2011-09-02 20:54:48 +0200
commitbd4bc2215f75926b9cab6ca2458bf7b2f604769f (patch)
tree55dbd81cc8bea993031807ee2f2416ba41c37b12 /devtools/tasmrecover/dreamweb
parent6764bfaa1dcd8fefff517649a575bbe2978f2c4b (diff)
downloadscummvm-rg350-bd4bc2215f75926b9cab6ca2458bf7b2f604769f.tar.gz
scummvm-rg350-bd4bc2215f75926b9cab6ca2458bf7b2f604769f.tar.bz2
scummvm-rg350-bd4bc2215f75926b9cab6ca2458bf7b2f604769f.zip
DREAMWEB: Fix quitting in the inventory screen
Diffstat (limited to 'devtools/tasmrecover/dreamweb')
-rw-r--r--devtools/tasmrecover/dreamweb/object.asm5
1 files changed, 5 insertions, 0 deletions
diff --git a/devtools/tasmrecover/dreamweb/object.asm b/devtools/tasmrecover/dreamweb/object.asm
index e6f8037579..807a100052 100644
--- a/devtools/tasmrecover/dreamweb/object.asm
+++ b/devtools/tasmrecover/dreamweb/object.asm
@@ -336,11 +336,16 @@ waitexam: ;call delpointer
jz notuseinv
mov bx,offset cs:withlist1
notuseinv: call checkcoords
+
+ cmp quitrequested, 0
+ jnz stopwaiting
+
cmp examagain,0
jz norex
jmp examineagain
norex: cmp getback,0
jz waitexam
+stopwaiting:
mov pickup,0
cmp watchingtime,0