aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Kiewitz2010-06-22 21:05:34 +0000
committerMartin Kiewitz2010-06-22 21:05:34 +0000
commitd8968ee5b95d62fd357dfec163436f7f164e5244 (patch)
treefd331b7bf1ed260da5afaf3373b89269d470795c
parent93b2336aa2ed65bcc1cca1db878dc0d07dc0fc2f (diff)
downloadscummvm-rg350-d8968ee5b95d62fd357dfec163436f7f164e5244.tar.gz
scummvm-rg350-d8968ee5b95d62fd357dfec163436f7f164e5244.tar.bz2
scummvm-rg350-d8968ee5b95d62fd357dfec163436f7f164e5244.zip
SCI: reversing r50168, demo is using the same offTop as well (demo.bat)
svn-id: r50169
-rw-r--r--engines/sci/graphics/ports.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/graphics/ports.cpp b/engines/sci/graphics/ports.cpp
index 571687a05f..b8e3ec9c9d 100644
--- a/engines/sci/graphics/ports.cpp
+++ b/engines/sci/graphics/ports.cpp
@@ -90,8 +90,8 @@ void GfxPorts::init(bool usesOldGfxFunctions, GfxPaint16 *paint16, GfxText16 *te
Common::String gameId = g_sci->getGameId();
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") && (!g_sci->isDemo()))
+ // Mixed-Up Fairy Tales (& its demo) uses -w 26 0 200 320. If we don't also do this we will get not-fully-removed windows everywhere
+ if (gameId == "fairytales")
offTop = 26;
openPort(_wmgrPort);