aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilippos Karapetis2010-01-25 19:13:25 +0000
committerFilippos Karapetis2010-01-25 19:13:25 +0000
commit3b7af74af4f178e48b105a47841b4f86d9257e7c (patch)
treeb3d216c0c0786942086265cec43155c8b18f9e07
parent157a1df30d270b5bcc8a264fec0acd1e71fd7d4a (diff)
downloadscummvm-rg350-3b7af74af4f178e48b105a47841b4f86d9257e7c.tar.gz
scummvm-rg350-3b7af74af4f178e48b105a47841b4f86d9257e7c.tar.bz2
scummvm-rg350-3b7af74af4f178e48b105a47841b4f86d9257e7c.zip
Fixed window port for Slater and Hoyle 3 (the top coordinate of the main window port is 0 like Jones, not 10 like in other games)
svn-id: r47559
-rw-r--r--engines/sci/graphics/windowmgr.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/sci/graphics/windowmgr.cpp b/engines/sci/graphics/windowmgr.cpp
index 374efb2b30..faa598326c 100644
--- a/engines/sci/graphics/windowmgr.cpp
+++ b/engines/sci/graphics/windowmgr.cpp
@@ -63,9 +63,9 @@ void WindowMgr::init(Common::String gameId) {
// will work, but some scripts seem to check for 0 and initialize the variable again in that case
// resulting in problems.
- // Jones sierra sci was called with parameter -Nw 0 0 200 320
- // this actually meant not skipping the first 10 pixellines in windowMgrPort
- if (gameId == "jones")
+ // Jones, Slater and Hoyle 3 were called with parameter -Nw 0 0 200 320.
+ // This actually meant not skipping the first 10 pixellines in windowMgrPort
+ if (gameId == "jones" || gameId == "slater" || gameId == "hoyle3")
offTop = 0;
_gfx->OpenPort(_wmgrPort);