diff options
author | Travis Howell | 2006-09-29 01:00:11 +0000 |
---|---|---|
committer | Travis Howell | 2006-09-29 01:00:11 +0000 |
commit | e36f3cfe9b3b45aaffde060546791ce9482bf323 (patch) | |
tree | 01535f923ca21673c958d7bc1b1c36da83873f04 /engines | |
parent | 11c9537e290fbab5d604037609fb40c70149b283 (diff) | |
download | scummvm-rg350-e36f3cfe9b3b45aaffde060546791ce9482bf323.tar.gz scummvm-rg350-e36f3cfe9b3b45aaffde060546791ce9482bf323.tar.bz2 scummvm-rg350-e36f3cfe9b3b45aaffde060546791ce9482bf323.zip |
Fix startup of PP games
svn-id: r23996
Diffstat (limited to 'engines')
-rw-r--r-- | engines/simon/res.cpp | 4 | ||||
-rw-r--r-- | engines/simon/simon.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/engines/simon/res.cpp b/engines/simon/res.cpp index 03a43e02e2..760e6885f9 100644 --- a/engines/simon/res.cpp +++ b/engines/simon/res.cpp @@ -323,7 +323,7 @@ void SimonEngine::loadGamePcFile() { in.close(); - if (getGameId() == GID_SWAMPY) + if (getGameType() == GType_PP) return; /* Read list of TABLE resources */ @@ -345,7 +345,7 @@ void SimonEngine::loadGamePcFile() { _tablesHeapPtrOrg = _tablesHeapPtr; _tablesHeapCurPosOrg = _tablesHeapCurPos; - if (getGameType() == GType_ELVIRA || getGameType() == GType_FF || getGameType() == GType_PP) + if (getGameType() == GType_ELVIRA || getGameType() == GType_FF) return; /* Read list of TEXT resources */ diff --git a/engines/simon/simon.cpp b/engines/simon/simon.cpp index b41218325d..a6e8a49348 100644 --- a/engines/simon/simon.cpp +++ b/engines/simon/simon.cpp @@ -791,7 +791,7 @@ uint SimonEngine::getVarOrWord() { } uint SimonEngine::getVarWrapper() { - if (getGameId() == GID_SWAMPY) + if (getGameType() == GType_PP) return getVarOrWord(); else return getVarOrByte(); |