[Scummvm-git-logs] scummvm master -> d8f376f3c3381ee692df9940aa0ca04cefde51da
dreammaster
dreammaster at scummvm.org
Sun Jul 15 05:31:04 CEST 2018
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
d8f376f3c3 LURE: Don't report failure message when save/load is successful
Commit: d8f376f3c3381ee692df9940aa0ca04cefde51da
https://github.com/scummvm/scummvm/commit/d8f376f3c3381ee692df9940aa0ca04cefde51da
Author: David Fioramonti (dafioram at gmail.com)
Date: 2018-07-14T20:30:59-07:00
Commit Message:
LURE: Don't report failure message when save/load is successful
This required switching the ternary true and false operands.
Changed paths:
engines/lure/lure.h
diff --git a/engines/lure/lure.h b/engines/lure/lure.h
index 71ce2d3..d395d00 100644
--- a/engines/lure/lure.h
+++ b/engines/lure/lure.h
@@ -121,11 +121,11 @@ public:
bool isEGA() const { return (getFeatures() & GF_EGA) != 0; }
virtual Common::Error loadGameState(int slot) {
- return loadGame(slot) ? Common::kReadingFailed : Common::kNoError;
+ return loadGame(slot) ? Common::kNoError : Common::kReadingFailed;
}
virtual Common::Error saveGameState(int slot, const Common::String &desc) {
Common::String s(desc);
- return saveGame(slot, s) ? Common::kReadingFailed : Common::kNoError;
+ return saveGame(slot, s) ? Common::kNoError : Common::kReadingFailed;
}
virtual bool canLoadGameStateCurrently() {
return _saveLoadAllowed && !Fights.isFighting();
More information about the Scummvm-git-logs
mailing list