diff options
author | Eugene Sandulenko | 2016-03-25 16:30:12 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2016-03-25 16:30:12 +0100 |
commit | 0fb6f31d4e53b6ac194775b13e6d0f553891dccd (patch) | |
tree | ff50ee6104f1d8fe39ce2bdfd2eae1868ba567b4 | |
parent | b3e5f693d4ab395f184a1649fc5e01a852f7040c (diff) | |
download | scummvm-rg350-0fb6f31d4e53b6ac194775b13e6d0f553891dccd.tar.gz scummvm-rg350-0fb6f31d4e53b6ac194775b13e6d0f553891dccd.tar.bz2 scummvm-rg350-0fb6f31d4e53b6ac194775b13e6d0f553891dccd.zip |
EVENTRECORDER: Fix incorrect check which prevented records from replay
-rw-r--r-- | gui/EventRecorder.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gui/EventRecorder.cpp b/gui/EventRecorder.cpp index d0371f5e78..3f91cfa259 100644 --- a/gui/EventRecorder.cpp +++ b/gui/EventRecorder.cpp @@ -330,7 +330,7 @@ bool EventRecorder::openRecordFile(const Common::String &fileName) { } bool EventRecorder::checkGameHash(const ADGameDescription *gameDesc) { - if (_playbackFile->getHeader().hashRecords.size() != 0) { + if (_playbackFile->getHeader().hashRecords.size() == 0) { warning("Engine doesn't contain description table"); return false; } @@ -676,4 +676,3 @@ void EventRecorder::deleteTemporarySave() { } // End of namespace GUI #endif // ENABLE_EVENTRECORDER - |