aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2010-06-25 16:12:38 +0000
committerMax Horn2010-06-25 16:12:38 +0000
commit23d384e6b88f4023b9150401a70a4efdf9bae018 (patch)
treeeded3c66d7f6ee32e17710a237d8c58571362a51
parent1e9977a725ca24a2d31cac56b0587bae09ab5b3a (diff)
downloadscummvm-rg350-23d384e6b88f4023b9150401a70a4efdf9bae018.tar.gz
scummvm-rg350-23d384e6b88f4023b9150401a70a4efdf9bae018.tar.bz2
scummvm-rg350-23d384e6b88f4023b9150401a70a4efdf9bae018.zip
SCI: Remove SciEngine::getFlags()
svn-id: r50272
-rw-r--r--engines/sci/sci.cpp6
-rw-r--r--engines/sci/sci.h1
2 files changed, 1 insertions, 6 deletions
diff --git a/engines/sci/sci.cpp b/engines/sci/sci.cpp
index f2ea0e67af..527c2d24ba 100644
--- a/engines/sci/sci.cpp
+++ b/engines/sci/sci.cpp
@@ -511,12 +511,8 @@ Common::Platform SciEngine::getPlatform() const {
return _gameDescription->platform;
}
-uint32 SciEngine::getFlags() const {
- return _gameDescription->flags;
-}
-
bool SciEngine::isDemo() const {
- return getFlags() & ADGF_DEMO;
+ return _gameDescription->flags & ADGF_DEMO;
}
Common::String SciEngine::getSavegameName(int nr) const {
diff --git a/engines/sci/sci.h b/engines/sci/sci.h
index ee51147a4e..68a62c5fcc 100644
--- a/engines/sci/sci.h
+++ b/engines/sci/sci.h
@@ -155,7 +155,6 @@ public:
int getResourceVersion() const;
Common::Language getLanguage() const;
Common::Platform getPlatform() const;
- uint32 getFlags() const;
bool isDemo() const;
inline ResourceManager *getResMan() const { return _resMan; }