aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStrangerke2013-05-26 22:38:27 +0200
committerStrangerke2013-05-26 22:39:18 +0200
commit5e0e672283aa5c81e906fbe380ea17a35a5e983a (patch)
tree06f7bc3b259caa23c9f6059c46dfa1ed555c3e82
parenteeeccd4b1f68460cda0f99c09118e4aa642ffe63 (diff)
downloadscummvm-rg350-5e0e672283aa5c81e906fbe380ea17a35a5e983a.tar.gz
scummvm-rg350-5e0e672283aa5c81e906fbe380ea17a35a5e983a.tar.bz2
scummvm-rg350-5e0e672283aa5c81e906fbe380ea17a35a5e983a.zip
CGE: Fix warning in detection
Thanks clone2727 for reporting it
-rw-r--r--engines/cge/cge.h3
-rw-r--r--engines/cge/detection.cpp3
2 files changed, 4 insertions, 2 deletions
diff --git a/engines/cge/cge.h b/engines/cge/cge.h
index 963305a775..61558c0989 100644
--- a/engines/cge/cge.h
+++ b/engines/cge/cge.h
@@ -81,7 +81,8 @@ class Talk;
#define kSayTheEnd 41
enum GameType {
- kGameTypeSoltys = 0,
+ kGameTypeNone = 0,
+ kGameTypeSoltys,
kGameTypeSfinx
};
diff --git a/engines/cge/detection.cpp b/engines/cge/detection.cpp
index 45eed31d21..4663b6b4af 100644
--- a/engines/cge/detection.cpp
+++ b/engines/cge/detection.cpp
@@ -128,7 +128,8 @@ static const CgeGameDescription gameDescriptions[] = {
},
kGameTypeSfinx
},
- AD_TABLE_END_MARKER
+
+ {AD_TABLE_END_MARKER, kGameTypeNone}
};
static const ADFileBasedFallback fileBasedFallback[] = {