From c6871d145e13de0465a26af93791baf84d5fda06 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Wed, 12 Dec 2007 08:56:34 +0000 Subject: [PATCH] Bugfix to return correct article indexes svn-id: r29835 --- engines/lure/surface.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engines/lure/surface.cpp b/engines/lure/surface.cpp index f9845cc58c0..9717c58d470 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;