aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/agos/agos.h2
-rw-r--r--engines/agos/res.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/agos/agos.h b/engines/agos/agos.h
index 03feafa70f..d171902133 100644
--- a/engines/agos/agos.h
+++ b/engines/agos/agos.h
@@ -197,7 +197,7 @@ public:
void registerArchive(const Common::String &filename, int priority);
#endif
- bool hasFile(const Common::String &name);
+ virtual bool hasFile(const Common::String &name) const;
Common::SeekableReadStream *open(const Common::String &filename);
private:
diff --git a/engines/agos/res.cpp b/engines/agos/res.cpp
index 62197340d2..284b252d91 100644
--- a/engines/agos/res.cpp
+++ b/engines/agos/res.cpp
@@ -47,7 +47,7 @@ void ArchiveMan::registerArchive(const Common::String &filename, int priority) {
}
#endif
-bool ArchiveMan::hasFile(const Common::String &name) {
+bool ArchiveMan::hasFile(const Common::String &name) const {
if (_fallBack && SearchMan.hasFile(name))
return true;