From d34fd9cdd667dea9ce11bf4aa9028b3e91caf19a Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Wed, 24 Mar 2010 11:47:08 +0000 Subject: Bugfix for getting correct quote information svn-id: r48377 --- engines/m4/globals.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/m4') diff --git a/engines/m4/globals.h b/engines/m4/globals.h index 4b0d7ce3d5..5f106a3ce7 100644 --- a/engines/m4/globals.h +++ b/engines/m4/globals.h @@ -253,7 +253,7 @@ public: void loadQuotes(); uint32 getQuotesSize() { return _madsQuotes.size(); } - const char *getQuote(uint32 index) { return _madsQuotes[index]; } + const char *getQuote(uint32 index) { return _madsQuotes[index - 1]; } // DEPRECATED: ScummVM re-implementation keeps all the quotes loaded, so the methods below are stubs void clearQuotes() {}; void loadQuoteRange(int startNum, int endNum) {}; -- cgit v1.2.3