diff options
Diffstat (limited to 'engines/hugo/text.h')
-rw-r--r-- | engines/hugo/text.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/hugo/text.h b/engines/hugo/text.h index cf728f6ad4..ec4001567d 100644 --- a/engines/hugo/text.h +++ b/engines/hugo/text.h @@ -42,8 +42,8 @@ public: const char *getTextParser(int parserIndex) const { return _textParser[parserIndex]; } const char *getTextUtil(int utilIndex) const { return _textUtil[utilIndex]; } const char *getVerb(int idx1, int idx2) const { return _arrayVerbs[idx1][idx2]; } - char **getNounArray(int idx1) { return _arrayNouns[idx1]; } - char **getVerbArray(int idx1) { return _arrayVerbs[idx1]; } + char **getNounArray(int idx1) const { return _arrayNouns[idx1]; } + char **getVerbArray(int idx1) const { return _arrayVerbs[idx1]; } void loadAllTexts(Common::ReadStream &in); void freeAllTexts(); |