aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/simon/res.cpp4
-rw-r--r--engines/simon/simon.cpp2
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();