aboutsummaryrefslogtreecommitdiff
path: root/engines/m4
diff options
context:
space:
mode:
authorPaul Gilbert2010-03-24 11:47:08 +0000
committerPaul Gilbert2010-03-24 11:47:08 +0000
commitd34fd9cdd667dea9ce11bf4aa9028b3e91caf19a (patch)
treef26797f8c7bbae03267f6e589c19b155497f7909 /engines/m4
parente0f92f61eb3fdf40f32f130a8e17fe91d56c6e88 (diff)
downloadscummvm-rg350-d34fd9cdd667dea9ce11bf4aa9028b3e91caf19a.tar.gz
scummvm-rg350-d34fd9cdd667dea9ce11bf4aa9028b3e91caf19a.tar.bz2
scummvm-rg350-d34fd9cdd667dea9ce11bf4aa9028b3e91caf19a.zip
Bugfix for getting correct quote information
svn-id: r48377
Diffstat (limited to 'engines/m4')
-rw-r--r--engines/m4/globals.h2
1 files changed, 1 insertions, 1 deletions
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) {};