diff options
author | Max Horn | 2011-04-18 17:39:31 +0200 |
---|---|---|
committer | Max Horn | 2011-04-18 18:22:02 +0200 |
commit | 73f04118f3d03e25fa1139cfea2b1330f0098bd4 (patch) | |
tree | bd0d638d9fbecf5207d0ac0fd775febca9e8b3db /engines/tinsel/tinsel.cpp | |
parent | e9c228564a97267bd439704b96cb659986511224 (diff) | |
download | scummvm-rg350-73f04118f3d03e25fa1139cfea2b1330f0098bd4.tar.gz scummvm-rg350-73f04118f3d03e25fa1139cfea2b1330f0098bd4.tar.bz2 scummvm-rg350-73f04118f3d03e25fa1139cfea2b1330f0098bd4.zip |
COMMON: Rename Error to ErrorCode, introduce new Error class
Diffstat (limited to 'engines/tinsel/tinsel.cpp')
-rw-r--r-- | engines/tinsel/tinsel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/tinsel/tinsel.cpp b/engines/tinsel/tinsel.cpp index e1396f9715..d78175d00c 100644 --- a/engines/tinsel/tinsel.cpp +++ b/engines/tinsel/tinsel.cpp @@ -972,7 +972,7 @@ Common::Error TinselEngine::run() { // errors when loading the save state. if (ConfMan.hasKey("save_slot")) { - if (loadGameState(ConfMan.getInt("save_slot")) == Common::kNoError) + if (loadGameState(ConfMan.getInt("save_slot")).getCode() == Common::kNoError) loadingFromGMM = true; } |