diff options
author | Paul Gilbert | 2007-12-12 08:56:34 +0000 |
---|---|---|
committer | Paul Gilbert | 2007-12-12 08:56:34 +0000 |
commit | c6871d145e13de0465a26af93791baf84d5fda06 (patch) | |
tree | e54e5ef5171a8713cd0e9d1749d3aa054bbc0286 /engines/lure | |
parent | a5f429c3515da7c2ea0892d04679f0cef3d15ee1 (diff) | |
download | scummvm-rg350-c6871d145e13de0465a26af93791baf84d5fda06.tar.gz scummvm-rg350-c6871d145e13de0465a26af93791baf84d5fda06.tar.bz2 scummvm-rg350-c6871d145e13de0465a26af93791baf84d5fda06.zip |
Bugfix to return correct article indexes
svn-id: r29835
Diffstat (limited to 'engines/lure')
-rw-r--r-- | engines/lure/surface.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/lure/surface.cpp b/engines/lure/surface.cpp index f9845cc58c..9717c58d47 100644 --- a/engines/lure/surface.cpp +++ b/engines/lure/surface.cpp @@ -569,7 +569,7 @@ int TalkDialog::getArticle(uint16 msgId, uint16 objId) { for (const uint16 *p = germanArticles[sectionIndex].translations; *p != 0; p += 2) { if (*p == id) // Return the article index to use - return *++p; + return *++p + 1; } return 0; @@ -587,7 +587,7 @@ int TalkDialog::getArticle(uint16 msgId, uint16 objId) { for (const uint16 *p = tlData; *p != 0; p += 2) { if (*p == id) // Return the article index to use - return *++p; + return *++p + 1; } return 0; |