aboutsummaryrefslogtreecommitdiff
path: root/engines/fullpipe
diff options
context:
space:
mode:
authorEugene Sandulenko2016-07-25 23:23:23 +0300
committerEugene Sandulenko2016-07-25 23:24:42 +0300
commit14757b1d1719740c3ad35de31c35fccb99cb4bc3 (patch)
tree66e3cb965144b1a7a96b0a60edb6a5a498017528 /engines/fullpipe
parent699d97b2de0290b393ca9d69bfce290604c9fa4b (diff)
downloadscummvm-rg350-14757b1d1719740c3ad35de31c35fccb99cb4bc3.tar.gz
scummvm-rg350-14757b1d1719740c3ad35de31c35fccb99cb4bc3.tar.bz2
scummvm-rg350-14757b1d1719740c3ad35de31c35fccb99cb4bc3.zip
FULLPIPE: Fix in MGM::recalcOffsets corner case check
Diffstat (limited to 'engines/fullpipe')
-rw-r--r--engines/fullpipe/mgm.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/fullpipe/mgm.cpp b/engines/fullpipe/mgm.cpp
index a30e791691..d1f90f82d4 100644
--- a/engines/fullpipe/mgm.cpp
+++ b/engines/fullpipe/mgm.cpp
@@ -503,7 +503,7 @@ int MGM::recalcOffsets(int idx, int st1idx, int st2idx, bool flip, bool flop) {
return 0;
}
- if (item->subItems[subIdx])
+ if (item->subItems[subIdx]->movement)
return item->subItems[subIdx]->field_8;
Common::Point point;