aboutsummaryrefslogtreecommitdiff
path: root/engines/fullpipe/scenes.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2013-09-22 11:28:44 +0300
committerEugene Sandulenko2013-09-22 11:28:44 +0300
commit2fb823c19bdd62e24d2e86ee2b77f6e4a84e3d66 (patch)
tree3da16244c24866f9b30723e68e68047b90e2ee08 /engines/fullpipe/scenes.cpp
parent19955e5d1943309c9ac2d696d9ee22eb4dee4eb9 (diff)
downloadscummvm-rg350-2fb823c19bdd62e24d2e86ee2b77f6e4a84e3d66.tar.gz
scummvm-rg350-2fb823c19bdd62e24d2e86ee2b77f6e4a84e3d66.tar.bz2
scummvm-rg350-2fb823c19bdd62e24d2e86ee2b77f6e4a84e3d66.zip
FULLPIPE: Fix unneeded check. CID 1063206
Diffstat (limited to 'engines/fullpipe/scenes.cpp')
-rw-r--r--engines/fullpipe/scenes.cpp18
1 files changed, 7 insertions, 11 deletions
diff --git a/engines/fullpipe/scenes.cpp b/engines/fullpipe/scenes.cpp
index d66291d9fc..7bc8f68fa5 100644
--- a/engines/fullpipe/scenes.cpp
+++ b/engines/fullpipe/scenes.cpp
@@ -137,17 +137,13 @@ bool FullpipeEngine::sceneSwitcher(EntranceInfo *entrance) {
_aniMan->_statics = _aniMan->getStaticsById(ST_MAN_EMPTY);
_aniMan->setOXY(0, 0);
- if (_aniMan) {
- _aniMan2 = _aniMan;
- MctlCompound *cmp = getSc2MctlCompoundBySceneId(entrance->_sceneId);
- cmp->initMovGraph2();
- cmp->addObject(_aniMan);
- cmp->setEnabled();
- getGameLoaderInteractionController()->enableFlag24();
- setInputDisabled(0);
- } else {
- _aniMan2 = 0;
- }
+ _aniMan2 = _aniMan;
+ MctlCompound *cmp = getSc2MctlCompoundBySceneId(entrance->_sceneId);
+ cmp->initMovGraph2();
+ cmp->addObject(_aniMan);
+ cmp->setEnabled();
+ getGameLoaderInteractionController()->enableFlag24();
+ setInputDisabled(0);
scene->setPictureObjectsFlag4();