aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2014-06-06 15:54:46 +0300
committerEugene Sandulenko2014-06-06 15:54:46 +0300
commit113a2824c41283facd7ae6c24be3f74213207bc9 (patch)
treeb507fede859d69fbfcaa50c69a9bb88c0e4dd970
parent8d16014292f738e8269713dc64ad23a7364cf4ad (diff)
downloadscummvm-rg350-113a2824c41283facd7ae6c24be3f74213207bc9.tar.gz
scummvm-rg350-113a2824c41283facd7ae6c24be3f74213207bc9.tar.bz2
scummvm-rg350-113a2824c41283facd7ae6c24be3f74213207bc9.zip
FULLPIPE: Fix binary logic. CID 1216221
-rw-r--r--engines/fullpipe/statics.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/engines/fullpipe/statics.cpp b/engines/fullpipe/statics.cpp
index 5d7de050f0..ec8514143e 100644
--- a/engines/fullpipe/statics.cpp
+++ b/engines/fullpipe/statics.cpp
@@ -979,11 +979,12 @@ void StaticANIObject::stopAnim_maybe() {
_ox += point.x;
_oy += point.y;
}
+ } else {
+ _statics = _movement->_staticsObj2;
}
- }
-
- if (_movement->_currDynamicPhaseIndex || !(_flags & 0x40))
+ } else {
_statics = _movement->_staticsObj2;
+ }
_statics->getSomeXY(point);