aboutsummaryrefslogtreecommitdiff
path: root/engines/fullpipe/scene.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/fullpipe/scene.cpp')
-rw-r--r--engines/fullpipe/scene.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/fullpipe/scene.cpp b/engines/fullpipe/scene.cpp
index b92b66ded6..66e5ee3f80 100644
--- a/engines/fullpipe/scene.cpp
+++ b/engines/fullpipe/scene.cpp
@@ -483,7 +483,7 @@ StaticANIObject *Scene::getStaticANIObjectAtPos(int x, int y) {
StaticANIObject *p = (StaticANIObject *)_staticANIObjectList1[i];
int pixel;
- if ((p->_field_8 & 1) && (p->_flags & 4) &&
+ if ((p->_field_8 & 0x100) && (p->_flags & 4) &&
p->getPixelAtPos(x, y, &pixel) &&
(!res || res->_priority >= p->_priority))
res = p;
@@ -497,7 +497,7 @@ PictureObject *Scene::getPictureObjectAtPos(int x, int y) {
for (uint i = 0; i < _picObjList.size(); i++) {
PictureObject *p = (PictureObject *)_picObjList[i];
- if ((p->_field_8 & 1) && (p->_flags & 4) &&
+ if ((p->_field_8 & 0x100) && (p->_flags & 4) &&
p->isPixelHitAtPos(x, y) &&
(!res || res->_priority >= p->_priority))
res = p;
@@ -512,7 +512,7 @@ int Scene::getPictureObjectIdAtPos(int x, int y) {
for (uint i = 0; i < _picObjList.size(); i++) {
PictureObject *p = (PictureObject *)_picObjList[i];
- if ((p->_field_8 & 1) && (p->_flags & 4) &&
+ if ((p->_field_8 & 0x100) && (p->_flags & 4) &&
p->isPixelHitAtPos(x, y) &&
(!res || resp->_priority >= p->_priority)) {
resp = p;