aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/fullpipe/behavior.cpp4
-rw-r--r--engines/fullpipe/scenes/scene03.cpp1
2 files changed, 3 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;
diff --git a/engines/fullpipe/scenes/scene03.cpp b/engines/fullpipe/scenes/scene03.cpp
index 1cb6390022..cf0a90fcad 100644
--- a/engines/fullpipe/scenes/scene03.cpp
+++ b/engines/fullpipe/scenes/scene03.cpp
@@ -58,6 +58,7 @@ void scene03_initScene(Scene *sc) {
inv->addItem(ANI_INV_EGGCOIN, 1);
inv->addItem(ANI_INV_EGGBOOT, 1);
inv->addItem(ANI_INV_EGGGLS, 1);
+ inv->rebuildItemRects();
#endif
g_vars->scene03_eggeater = sc->getStaticANIObject1ById(ANI_EGGEATER, -1);