aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics/ports.cpp
diff options
context:
space:
mode:
authorMax Horn2010-06-17 23:14:34 +0000
committerMax Horn2010-06-17 23:14:34 +0000
commit359be0c0665d9fed898ad1c511614a76ee92e331 (patch)
tree8baf169c9b18f86f8d855cf8927cb8177e9d7606 /engines/sci/graphics/ports.cpp
parent78cd1aa145fb454de67444ef58bed6381ce2396c (diff)
downloadscummvm-rg350-359be0c0665d9fed898ad1c511614a76ee92e331.tar.gz
scummvm-rg350-359be0c0665d9fed898ad1c511614a76ee92e331.tar.bz2
scummvm-rg350-359be0c0665d9fed898ad1c511614a76ee92e331.zip
SCI: Change SciEngine's 'char *getGameID()' to 'Common::String getGameId()'
svn-id: r49968
Diffstat (limited to 'engines/sci/graphics/ports.cpp')
-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 c964ccd346..b762872357 100644
--- a/engines/sci/graphics/ports.cpp
+++ b/engines/sci/graphics/ports.cpp
@@ -87,7 +87,7 @@ void GfxPorts::init(bool usesOldGfxFunctions, GfxPaint16 *paint16, GfxText16 *te
// Jones, Slater and Hoyle 3 were called with parameter -Nw 0 0 200 320.
// Mother Goose (SCI1) uses -Nw 0 0 159 262. The game will later use SetPort so we don't need to set the other fields.
// This actually meant not skipping the first 10 pixellines in windowMgrPort
- Common::String gameId = g_sci->getGameID();
+ Common::String gameId = g_sci->getGameId();
if (gameId == "jones" || gameId == "slater" || gameId == "hoyle3" || (gameId == "mothergoose" && getSciVersion() == SCI_VERSION_1_EARLY))
offTop = 0;