From e3a11085a9c07082dfebb8b4bcf4031ac0569df5 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Sun, 14 Jul 2013 19:20:06 +0300 Subject: RECORDER: Fix CID 1046888. Wrong check. --- gui/EventRecorder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gui/EventRecorder.cpp') 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; } -- cgit v1.2.3