aboutsummaryrefslogtreecommitdiff
path: root/engines/hdb
diff options
context:
space:
mode:
authorEugene Sandulenko2019-06-26 23:32:21 +0200
committerEugene Sandulenko2019-09-03 17:17:01 +0200
commitc0413509f1d2f2eda6b5f5e93b6d4dc0b304603e (patch)
tree9667e7d8d1bbd01186fcff4d507f314dcfad8f90 /engines/hdb
parent3343787666b3347b586e101f0084b0638d7e236e (diff)
downloadscummvm-rg350-c0413509f1d2f2eda6b5f5e93b6d4dc0b304603e.tar.gz
scummvm-rg350-c0413509f1d2f2eda6b5f5e93b6d4dc0b304603e.tar.bz2
scummvm-rg350-c0413509f1d2f2eda6b5f5e93b6d4dc0b304603e.zip
HDB: Fix tile loading
Diffstat (limited to 'engines/hdb')
-rw-r--r--engines/hdb/file-manager.cpp2
1 files changed, 1 insertions, 1 deletions
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;