Fix startup of PP games

svn-id: r23996
This commit is contained in:
Travis Howell 2006-09-29 01:00:11 +00:00
parent 11c9537e29
commit e36f3cfe9b
2 changed files with 3 additions and 3 deletions

View File

@ -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 */

View File

@ -791,7 +791,7 @@ uint SimonEngine::getVarOrWord() {
}
uint SimonEngine::getVarWrapper() {
if (getGameId() == GID_SWAMPY)
if (getGameType() == GType_PP)
return getVarOrWord();
else
return getVarOrByte();