From 113a2824c41283facd7ae6c24be3f74213207bc9 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Fri, 6 Jun 2014 15:54:46 +0300 Subject: FULLPIPE: Fix binary logic. CID 1216221 --- engines/fullpipe/statics.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'engines/fullpipe/statics.cpp') 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); -- cgit v1.2.3