diff options
author | Eugene Sandulenko | 2016-12-11 16:14:58 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2016-12-11 18:36:08 +0100 |
commit | 8f4a662b1db79a8e9db70ae4e7f89325afdc409a (patch) | |
tree | 770ff083ffabb6764741d7bc30aa2d060ff2fec1 /engines/fullpipe/scenes.cpp | |
parent | a95be40dcd809f188750c81c710b087fe3cbc784 (diff) | |
download | scummvm-rg350-8f4a662b1db79a8e9db70ae4e7f89325afdc409a.tar.gz scummvm-rg350-8f4a662b1db79a8e9db70ae4e7f89325afdc409a.tar.bz2 scummvm-rg350-8f4a662b1db79a8e9db70ae4e7f89325afdc409a.zip |
FULLPIPE: Simplify demo check in the engine
Diffstat (limited to 'engines/fullpipe/scenes.cpp')
-rw-r--r-- | engines/fullpipe/scenes.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/engines/fullpipe/scenes.cpp b/engines/fullpipe/scenes.cpp index c88705b98e..bb141d98c4 100644 --- a/engines/fullpipe/scenes.cpp +++ b/engines/fullpipe/scenes.cpp @@ -35,8 +35,6 @@ #include "fullpipe/scenes.h" #include "fullpipe/interaction.h" -#include "engines/advancedDetector.h" - namespace Fullpipe { Vars::Vars() { @@ -619,7 +617,7 @@ bool FullpipeEngine::sceneSwitcher(EntranceInfo *entrance) { sceneVar = _gameLoader->_gameVar->getSubVarByName("SC_INTRO1"); scene->preloadMovements(sceneVar); - if (!(g_fp->getFeatures() & ADGF_DEMO && g_fp->getLanguage() == Common::RU_RUS)) + if (!(g_fp->isDemo() && g_fp->getLanguage() == Common::RU_RUS)) sceneIntro_initScene(scene); else sceneIntroDemo_initScene(scene); @@ -628,7 +626,7 @@ bool FullpipeEngine::sceneSwitcher(EntranceInfo *entrance) { scene->initObjectCursors("SC_INTRO1"); setSceneMusicParameters(sceneVar); - if (!(g_fp->getFeatures() & ADGF_DEMO && g_fp->getLanguage() == Common::RU_RUS)) { + if (!(g_fp->isDemo() && g_fp->getLanguage() == Common::RU_RUS)) { addMessageHandler(sceneHandlerIntro, 2); _updateCursorCallback = sceneIntro_updateCursor; } else { |