aboutsummaryrefslogtreecommitdiff
path: root/engines/fullpipe/scenes/scene09.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/fullpipe/scenes/scene09.cpp')
-rw-r--r--engines/fullpipe/scenes/scene09.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/engines/fullpipe/scenes/scene09.cpp b/engines/fullpipe/scenes/scene09.cpp
index 8699560d28..169d06c331 100644
--- a/engines/fullpipe/scenes/scene09.cpp
+++ b/engines/fullpipe/scenes/scene09.cpp
@@ -33,8 +33,6 @@
#include "fullpipe/interaction.h"
#include "fullpipe/behavior.h"
-#include "engines/advancedDetector.h"
-
namespace Fullpipe {
struct Hanger {
@@ -465,7 +463,7 @@ int sceneHandler09(ExCommand *cmd) {
break;
case 367:
- if (g_fp->getFeatures() & ADGF_DEMO && g_fp->getLanguage() == Common::RU_RUS) {
+ if (g_fp->isDemo() && g_fp->getLanguage() == Common::RU_RUS) {
g_fp->_needRestart = true;
return 0;
}