aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorMartin Kiewitz2010-06-22 21:01:34 +0000
committerMartin Kiewitz2010-06-22 21:01:34 +0000
commit93b2336aa2ed65bcc1cca1db878dc0d07dc0fc2f (patch)
treea0f623383824608c4b755c2b7c70cce5436205e1 /engines
parenta836f965f8c313fad8d3f36b94ccec4bf5c0c00b (diff)
downloadscummvm-rg350-93b2336aa2ed65bcc1cca1db878dc0d07dc0fc2f.tar.gz
scummvm-rg350-93b2336aa2ed65bcc1cca1db878dc0d07dc0fc2f.tar.bz2
scummvm-rg350-93b2336aa2ed65bcc1cca1db878dc0d07dc0fc2f.zip
SCI: demo of fairy tales uses regular offTop
svn-id: r50168
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/graphics/ports.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/graphics/ports.cpp b/engines/sci/graphics/ports.cpp
index 9f0edb290f..571687a05f 100644
--- a/engines/sci/graphics/ports.cpp
+++ b/engines/sci/graphics/ports.cpp
@@ -91,7 +91,7 @@ void GfxPorts::init(bool usesOldGfxFunctions, GfxPaint16 *paint16, GfxText16 *te
if (gameId == "jones" || gameId == "slater" || gameId == "hoyle3" || gameId == "hoyle4" || (gameId == "mothergoose" && getSciVersion() == SCI_VERSION_1_EARLY))
offTop = 0;
// Mixed-Up Fairy Tales uses -w 26 0 200 320. If we don't also do this we will get not-fully-removed windows everywhere
- if (gameId == "fairytales")
+ if ((gameId == "fairytales") && (!g_sci->isDemo()))
offTop = 26;
openPort(_wmgrPort);