From d6d9967201af55cf376e54b4a3a35d2c2bd5e6d9 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Wed, 31 Aug 2016 22:40:45 +0200 Subject: FULLPIPE: Fixed Behaviour methods --- engines/fullpipe/behavior.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/fullpipe/behavior.cpp') diff --git a/engines/fullpipe/behavior.cpp b/engines/fullpipe/behavior.cpp index 4f70553033..92fb952605 100644 --- a/engines/fullpipe/behavior.cpp +++ b/engines/fullpipe/behavior.cpp @@ -206,7 +206,7 @@ void BehaviorManager::setFlagByStaticAniObject(StaticANIObject *ani, int flag) { if (ani == beh->_ani) { if (flag) - beh->_flags &= 0xfe; + beh->_flags &= 0xfffffffe; else beh->_flags |= 1; } @@ -311,7 +311,7 @@ BehaviorAnim::BehaviorAnim(GameVar *var, Scene *sc, StaticANIObject *ani, int *m _staticsId = 0; _movesCount = 0; - *minDelay = 100000000; + *minDelay = 0xffffffff; int totalPercent = 0; _flags = 0; -- cgit v1.2.3