diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/mohawk/resource.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/mohawk/resource.cpp b/engines/mohawk/resource.cpp index 0ef0a6ae08..b9ecdb38ee 100644 --- a/engines/mohawk/resource.cpp +++ b/engines/mohawk/resource.cpp @@ -74,7 +74,7 @@ bool Archive::hasResource(uint32 tag, const Common::String &resName) const { const ResourceMap &resMap = _types[tag]; for (ResourceMap::const_iterator it = resMap.begin(); it != resMap.end(); it++) - if (it->_value.name.matchString(resName, true)) + if (it->_value.name.equalsIgnoreCase(resName)) return true; return false; @@ -113,7 +113,7 @@ uint16 Archive::findResourceID(uint32 tag, const Common::String &resName) const const ResourceMap &resMap = _types[tag]; for (ResourceMap::const_iterator it = resMap.begin(); it != resMap.end(); it++) - if (it->_value.name.matchString(resName, true)) + if (it->_value.name.equalsIgnoreCase(resName)) return it->_key; return 0xFFFF; |