aboutsummaryrefslogtreecommitdiff
path: root/engines/lab/eventman.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/lab/eventman.cpp')
-rw-r--r--engines/lab/eventman.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/lab/eventman.cpp b/engines/lab/eventman.cpp
index aeb6fa3b44..b1b1a68e70 100644
--- a/engines/lab/eventman.cpp
+++ b/engines/lab/eventman.cpp
@@ -63,7 +63,7 @@ Gadget *EventManager::checkGadgetHit(GadgetList *gadgetList, Common::Point pos)
if ((pos.x >= gadget->x) && (pos.y >= gadget->y) &&
(pos.x <= (gadget->x + gadget->_image->_width)) &&
(pos.y <= (gadget->y + gadget->_image->_height)) &&
- !(GADGETOFF & gadget->GadgetFlags)) {
+ !(GADGETOFF & gadget->_flags)) {
if (_vm->_isHiRes) {
_hitGadget = gadget;
} else {