diff options
author | David Fioramonti | 2018-07-12 17:33:53 -0700 |
---|---|---|
committer | Paul Gilbert | 2018-07-14 20:30:59 -0700 |
commit | d8f376f3c3381ee692df9940aa0ca04cefde51da (patch) | |
tree | a7c6f960a0800ae04d8ae1b4e18330e7dcf3cd0a /engines/lure/lure.h | |
parent | b04fe74f8314d68f57325b3173d0d09cceb58a8a (diff) | |
download | scummvm-rg350-d8f376f3c3381ee692df9940aa0ca04cefde51da.tar.gz scummvm-rg350-d8f376f3c3381ee692df9940aa0ca04cefde51da.tar.bz2 scummvm-rg350-d8f376f3c3381ee692df9940aa0ca04cefde51da.zip |
LURE: Don't report failure message when save/load is successful
This required switching the ternary true and false operands.
Diffstat (limited to 'engines/lure/lure.h')
-rw-r--r-- | engines/lure/lure.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/lure/lure.h b/engines/lure/lure.h index 71ce2d3cff..d395d00c03 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(); |