From c0413509f1d2f2eda6b5f5e93b6d4dc0b304603e Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Wed, 26 Jun 2019 23:32:21 +0200 Subject: HDB: Fix tile loading --- engines/hdb/file-manager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/hdb') diff --git a/engines/hdb/file-manager.cpp b/engines/hdb/file-manager.cpp index 0a238120ba..78889274bb 100644 --- a/engines/hdb/file-manager.cpp +++ b/engines/hdb/file-manager.cpp @@ -101,7 +101,7 @@ Common::SeekableReadStream *FileMan::findFirstData(const char *string, DataType // Find MPC Entry for (MPCIterator it = _dir.begin(); it != _dir.end(); it++) { fileString = (*it)->filename; - if (fileString.contains(string)) { + if (fileString.equals(string)) { if ((*it)->type == type) { file = *it; break; -- cgit v1.2.3