aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
diff options
context:
space:
mode:
authorWalter van Niftrik2009-09-01 17:40:13 +0000
committerWalter van Niftrik2009-09-01 17:40:13 +0000
commitb0ab5d48f8ef5232e3c884b6864c8d18485c277b (patch)
treeabfcfa5fa0a0f85e8582f60c5a8ca644d5716eea /engines/sci
parent2e04dcb133e450b84983da5b680d1695fdf639bd (diff)
downloadscummvm-rg350-b0ab5d48f8ef5232e3c884b6864c8d18485c277b.tar.gz
scummvm-rg350-b0ab5d48f8ef5232e3c884b6864c8d18485c277b.tar.bz2
scummvm-rg350-b0ab5d48f8ef5232e3c884b6864c8d18485c277b.zip
SCI: Fix message property of mouse event. This fixes mouse handling in the
room with the pier in KQ6. svn-id: r43888
Diffstat (limited to 'engines/sci')
-rw-r--r--engines/sci/engine/kevent.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/engine/kevent.cpp b/engines/sci/engine/kevent.cpp
index d5846c2daa..9c79bf72da 100644
--- a/engines/sci/engine/kevent.cpp
+++ b/engines/sci/engine/kevent.cpp
@@ -112,7 +112,7 @@ reg_t kGetEvent(EngineState *s, int funct_nr, int argc, reg_t *argv) {
}
PUT_SEL32V(obj, type, e.type);
- PUT_SEL32V(obj, message, 1);
+ PUT_SEL32V(obj, message, 0);
PUT_SEL32V(obj, modifiers, (e.buckybits | extra_bits)&modifier_mask);
s->r_acc = make_reg(0, 1);
}