aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/mads/resources.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/mads/resources.cpp b/engines/mads/resources.cpp
index 5e490c2719..f85d5ce340 100644
--- a/engines/mads/resources.cpp
+++ b/engines/mads/resources.cpp
@@ -199,7 +199,7 @@ bool HagArchive::getHeaderEntry(const Common::String &resourceName,
Common::List<HagEntry>::iterator ei;
for (ei = hagIndex._entries.begin(); ei != hagIndex._entries.end(); ++ei) {
hagEntry = *ei;
- if (hagEntry._resourceName == resName)
+ if (hagEntry._resourceName.compareToIgnoreCase(resName) == 0)
return true;
}
}