From 2fb823c19bdd62e24d2e86ee2b77f6e4a84e3d66 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Sun, 22 Sep 2013 11:28:44 +0300 Subject: FULLPIPE: Fix unneeded check. CID 1063206 --- engines/fullpipe/scenes.cpp | 18 +++++++----------- 1 file 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(); -- cgit v1.2.3