From 14757b1d1719740c3ad35de31c35fccb99cb4bc3 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Mon, 25 Jul 2016 23:23:23 +0300 Subject: FULLPIPE: Fix in MGM::recalcOffsets corner case check --- engines/fullpipe/mgm.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3