aboutsummaryrefslogtreecommitdiff
path: root/engines/fullpipe/behavior.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2016-08-31 22:40:45 +0200
committerEugene Sandulenko2016-08-31 22:40:45 +0200
commitd6d9967201af55cf376e54b4a3a35d2c2bd5e6d9 (patch)
tree3a1c3a92d54797d1ba10de915c7c610481f45e6f /engines/fullpipe/behavior.cpp
parent8304cfc20e6218f1d0406492030385530bd0a5a0 (diff)
downloadscummvm-rg350-d6d9967201af55cf376e54b4a3a35d2c2bd5e6d9.tar.gz
scummvm-rg350-d6d9967201af55cf376e54b4a3a35d2c2bd5e6d9.tar.bz2
scummvm-rg350-d6d9967201af55cf376e54b4a3a35d2c2bd5e6d9.zip
FULLPIPE: Fixed Behaviour methods
Diffstat (limited to 'engines/fullpipe/behavior.cpp')
-rw-r--r--engines/fullpipe/behavior.cpp4
1 files changed, 2 insertions, 2 deletions
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;