aboutsummaryrefslogtreecommitdiff
path: root/engines/fullpipe/scenes.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/fullpipe/scenes.cpp')
-rw-r--r--engines/fullpipe/scenes.cpp6
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 {