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/scene08.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/scene08.cpp')
-rw-r--r-- | engines/fullpipe/scenes/scene08.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/engines/fullpipe/scenes/scene08.cpp b/engines/fullpipe/scenes/scene08.cpp index 0c8b68b17e..24b23c1506 100644 --- a/engines/fullpipe/scenes/scene08.cpp +++ b/engines/fullpipe/scenes/scene08.cpp @@ -20,8 +20,6 @@ * */ -#include "engines/advancedDetector.h" - #include "fullpipe/fullpipe.h" #include "fullpipe/objects.h" @@ -412,7 +410,7 @@ void sceneHandler08_checkEndArcade() { if (y < 80) { sceneHandler08_finishArcade(); - if (g_fp->getFeatures() & ADGF_DEMO && g_fp->getLanguage() == Common::DE_DEU) { + if (g_fp->isDemo() && g_fp->getLanguage() == Common::DE_DEU) { ModalDemo *demo = new ModalDemo; demo->launch(); |