aboutsummaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorEugene Sandulenko2013-07-14 19:20:06 +0300
committerEugene Sandulenko2013-07-14 19:20:06 +0300
commite3a11085a9c07082dfebb8b4bcf4031ac0569df5 (patch)
treeceedca11d6aa0df334b0259403a8b9dcb430b013 /gui
parent977038e847f9e08280e9accae2db28b3f5d40abc (diff)
downloadscummvm-rg350-e3a11085a9c07082dfebb8b4bcf4031ac0569df5.tar.gz
scummvm-rg350-e3a11085a9c07082dfebb8b4bcf4031ac0569df5.tar.bz2
scummvm-rg350-e3a11085a9c07082dfebb8b4bcf4031ac0569df5.zip
RECORDER: Fix CID 1046888. Wrong check.
Diffstat (limited to 'gui')
-rw-r--r--gui/EventRecorder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/EventRecorder.cpp b/gui/EventRecorder.cpp
index b62399d799..f2df146804 100644
--- a/gui/EventRecorder.cpp
+++ b/gui/EventRecorder.cpp
@@ -331,7 +331,7 @@ bool EventRecorder::openRecordFile(const Common::String &fileName) {
}
bool EventRecorder::checkGameHash(const ADGameDescription *gameDesc) {
- if ((gameDesc == NULL) && (_playbackFile->getHeader().hashRecords.size() != 0)) {
+ if (_playbackFile->getHeader().hashRecords.size() != 0) {
warning("Engine doesn't contain description table");
return false;
}