[Scummvm-cvs-logs] scummvm master -> 0fb6f31d4e53b6ac194775b13e6d0f553891dccd
sev-
sev at scummvm.org
Fri Mar 25 16:31:00 CET 2016
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:
0fb6f31d4e EVENTRECORDER: Fix incorrect check which prevented records from replay
Commit: 0fb6f31d4e53b6ac194775b13e6d0f553891dccd
https://github.com/scummvm/scummvm/commit/0fb6f31d4e53b6ac194775b13e6d0f553891dccd
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2016-03-25T16:30:12+01:00
Commit Message:
EVENTRECORDER: Fix incorrect check which prevented records from replay
Changed paths:
gui/EventRecorder.cpp
diff --git a/gui/EventRecorder.cpp b/gui/EventRecorder.cpp
index d0371f5..3f91cfa 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
-
More information about the Scummvm-git-logs
mailing list