diff options
author | Joseph-Eugene Winzer | 2017-08-30 22:37:41 +0200 |
---|---|---|
committer | Thierry Crozat | 2018-01-23 02:01:00 +0000 |
commit | a334a4730dca4ac0085c61c639bb30ba6b4fb9bb (patch) | |
tree | 84991a4d5c7fc79de945909209275fd6f4fb29ee /engines/supernova | |
parent | ea60d1513e60895d5604a61663a22093e3fc4194 (diff) | |
download | scummvm-rg350-a334a4730dca4ac0085c61c639bb30ba6b4fb9bb.tar.gz scummvm-rg350-a334a4730dca4ac0085c61c639bb30ba6b4fb9bb.tar.bz2 scummvm-rg350-a334a4730dca4ac0085c61c639bb30ba6b4fb9bb.zip |
SUPERNOVA: Fixes returned constant on load fail
Diffstat (limited to 'engines/supernova')
-rw-r--r-- | engines/supernova/supernova.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/supernova/supernova.cpp b/engines/supernova/supernova.cpp index 39f00e8b26..19cec43920 100644 --- a/engines/supernova/supernova.cpp +++ b/engines/supernova/supernova.cpp @@ -794,7 +794,7 @@ bool SupernovaEngine::canLoadGameStateCurrently() { } Common::Error SupernovaEngine::loadGameState(int slot) { - return (loadGame(slot) ? Common::kNoError : Common::kWritingFailed); + return (loadGame(slot) ? Common::kNoError : Common::kReadingFailed); } bool SupernovaEngine::canSaveGameStateCurrently() { |