aboutsummaryrefslogtreecommitdiff
path: root/engines/agos/agos.h
diff options
context:
space:
mode:
authorJohannes Schickel2012-01-27 20:04:40 +0100
committerJohannes Schickel2012-01-27 20:10:31 +0100
commita7cc5bd301bd0d5c55390de8c421eff91a8458b5 (patch)
tree66b6843fc784a17b96c379ca7c40d59f994c5886 /engines/agos/agos.h
parent0fd9abfe01d517c12b6855b6777a7e062ec1cc78 (diff)
downloadscummvm-rg350-a7cc5bd301bd0d5c55390de8c421eff91a8458b5.tar.gz
scummvm-rg350-a7cc5bd301bd0d5c55390de8c421eff91a8458b5.tar.bz2
scummvm-rg350-a7cc5bd301bd0d5c55390de8c421eff91a8458b5.zip
AGOS: Properly overwrite hasFile from SearchSet in ArchiveMan.
Formerly the hasFile method was non-const, thus did not overwrite the virtual hasFile method of SearchSet. Since all accesses to this function have been done through a ArchiveMan typed variable, the missing overwrite should not have caused any trouble. It looks like this was forgotten in a6ec4f70da120a1ce406ed4dd9e149e081542f59.
Diffstat (limited to 'engines/agos/agos.h')
-rw-r--r--engines/agos/agos.h2
1 files changed, 1 insertions, 1 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: