diff options
author | Nipun Garg | 2019-06-09 00:27:28 +0530 |
---|---|---|
committer | Eugene Sandulenko | 2019-09-03 17:16:46 +0200 |
commit | 00022ef0a7fa517ade1a1b38fab8d66bd0d9a09d (patch) | |
tree | bc154145b9929272e5762e5381514e82f530fa28 /engines | |
parent | 6fa032a2e1b63dac434d48970c2fdb5343aa21b4 (diff) | |
download | scummvm-rg350-00022ef0a7fa517ade1a1b38fab8d66bd0d9a09d.tar.gz scummvm-rg350-00022ef0a7fa517ade1a1b38fab8d66bd0d9a09d.tar.bz2 scummvm-rg350-00022ef0a7fa517ade1a1b38fab8d66bd0d9a09d.zip |
HDB: Change getTileIndex using Common::matchString
Diffstat (limited to 'engines')
-rw-r--r-- | engines/hdb/draw-manager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/hdb/draw-manager.cpp b/engines/hdb/draw-manager.cpp index 38eaafcc4d..eca4e22279 100644 --- a/engines/hdb/draw-manager.cpp +++ b/engines/hdb/draw-manager.cpp @@ -124,7 +124,7 @@ Tile *DrawMan::getTile(int index) { int DrawMan::getTileIndex(const char *name) { for (int i = 0; i < _numTiles; i++) { - if (_tLookupArray[i].filename == name) { + if (Common::matchString(_tLookupArray[i].filename, name)) { return i; } } |