diff options
| author | Eugene Sandulenko | 2016-08-31 22:40:45 +0200 | 
|---|---|---|
| committer | Eugene Sandulenko | 2016-08-31 22:40:45 +0200 | 
| commit | d6d9967201af55cf376e54b4a3a35d2c2bd5e6d9 (patch) | |
| tree | 3a1c3a92d54797d1ba10de915c7c610481f45e6f | |
| parent | 8304cfc20e6218f1d0406492030385530bd0a5a0 (diff) | |
| download | scummvm-rg350-d6d9967201af55cf376e54b4a3a35d2c2bd5e6d9.tar.gz scummvm-rg350-d6d9967201af55cf376e54b4a3a35d2c2bd5e6d9.tar.bz2 scummvm-rg350-d6d9967201af55cf376e54b4a3a35d2c2bd5e6d9.zip | |
FULLPIPE: Fixed Behaviour methods
| -rw-r--r-- | engines/fullpipe/behavior.cpp | 4 | ||||
| -rw-r--r-- | engines/fullpipe/scenes/scene03.cpp | 1 | 
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); | 
