aboutsummaryrefslogtreecommitdiff
path: root/engines/fullpipe/stateloader.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2016-12-11 16:14:58 +0100
committerEugene Sandulenko2016-12-11 18:36:08 +0100
commit8f4a662b1db79a8e9db70ae4e7f89325afdc409a (patch)
tree770ff083ffabb6764741d7bc30aa2d060ff2fec1 /engines/fullpipe/stateloader.cpp
parenta95be40dcd809f188750c81c710b087fe3cbc784 (diff)
downloadscummvm-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/stateloader.cpp')
-rw-r--r--engines/fullpipe/stateloader.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/engines/fullpipe/stateloader.cpp b/engines/fullpipe/stateloader.cpp
index 05305a463a..b53291b985 100644
--- a/engines/fullpipe/stateloader.cpp
+++ b/engines/fullpipe/stateloader.cpp
@@ -27,8 +27,6 @@
#include "common/list.h"
#include "common/memstream.h"
-#include "engines/advancedDetector.h"
-
#include "graphics/thumbnail.h"
#include "fullpipe/objects.h"
@@ -335,7 +333,7 @@ bool FullpipeEngine::loadGam(const char *fname, int scene) {
_gameLoader->loadScene(SC_INTRO1);
_gameLoader->gotoScene(SC_INTRO1, TrubaUp);
} else {
- if (g_fp->getFeatures() & ADGF_DEMO && g_fp->getLanguage() == Common::RU_RUS) {
+ if (g_fp->isDemo() && g_fp->getLanguage() == Common::RU_RUS) {
_gameLoader->loadScene(SC_9);
_gameLoader->gotoScene(SC_9, TrubaDown);
} else {