diff options
Diffstat (limited to 'engines/macventure/stringtable.h')
-rw-r--r-- | engines/macventure/stringtable.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/engines/macventure/stringtable.h b/engines/macventure/stringtable.h index 87ec9775cb..ffb9d375ab 100644 --- a/engines/macventure/stringtable.h +++ b/engines/macventure/stringtable.h @@ -52,8 +52,13 @@ public: } - const Common::Array<Common::String> *getStrings() { - return &_strings; + const Common::Array<Common::String> &getStrings() { + return _strings; + } + + Common::String getString(uint ndx) { + assert(ndx < _strings.size()); + return _strings[ndx]; } private: |