diff options
author | athrxx | 2011-12-12 22:23:30 +0100 |
---|---|---|
committer | Johannes Schickel | 2011-12-26 16:18:17 +0100 |
commit | 40b1b794ae1cdc8524271f5cc522c82cb5a7fd59 (patch) | |
tree | 84be78488064a48cbd0abf11895c3998dad4fd7f | |
parent | 692f9ee6d524752bf1b1d169f81f68309901187a (diff) | |
download | scummvm-rg350-40b1b794ae1cdc8524271f5cc522c82cb5a7fd59.tar.gz scummvm-rg350-40b1b794ae1cdc8524271f5cc522c82cb5a7fd59.tar.bz2 scummvm-rg350-40b1b794ae1cdc8524271f5cc522c82cb5a7fd59.zip |
KYRA: make bool variable const (again)
-rw-r--r-- | engines/kyra/detection.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/detection.cpp b/engines/kyra/detection.cpp index ceb3ef6728..56687d60b3 100644 --- a/engines/kyra/detection.cpp +++ b/engines/kyra/detection.cpp @@ -202,7 +202,7 @@ void KyraMetaEngine::removeSaveState(const char *target, int slot) const { SaveStateDescriptor KyraMetaEngine::querySaveMetaInfos(const char *target, int slot) const { Common::String filename = Kyra::KyraEngine_v1::getSavegameFilename(target, slot); Common::InSaveFile *in = g_system->getSavefileManager()->openForLoading(filename); - bool nonKyraGame = ConfMan.getDomain(target)->getVal("gameid").equalsIgnoreCase("lol") || ConfMan.getDomain(target)->getVal("gameid").equalsIgnoreCase("eob") || ConfMan.getDomain(target)->getVal("gameid").equalsIgnoreCase("eob2"); + const bool nonKyraGame = ConfMan.getDomain(target)->getVal("gameid").equalsIgnoreCase("lol") || ConfMan.getDomain(target)->getVal("gameid").equalsIgnoreCase("eob") || ConfMan.getDomain(target)->getVal("gameid").equalsIgnoreCase("eob2"); if (in) { Kyra::KyraEngine_v1::SaveHeader header; |