aboutsummaryrefslogtreecommitdiff
path: root/engines/game.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/game.cpp')
-rw-r--r--engines/game.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/game.cpp b/engines/game.cpp
index 3e6cdc2e79..c8cfcc663b 100644
--- a/engines/game.cpp
+++ b/engines/game.cpp
@@ -98,11 +98,11 @@ bool SaveStateDescriptor::getBool(const Common::String &key) const {
if (contains(key)) {
Common::String value = getVal(key);
if (value.equalsIgnoreCase("true") ||
- value.equalsIgnoreCase("yes") ||
+ value.equalsIgnoreCase("yes") ||
value.equals("1"))
return true;
if (value.equalsIgnoreCase("false") ||
- value.equalsIgnoreCase("no") ||
+ value.equalsIgnoreCase("no") ||
value.equals("0"))
return false;
error("SaveStateDescriptor: %s '%s' has unknown value '%s' for boolean '%s'",