From 7ef779a51bc4c3774d8a811b86b1ecb29decbda5 Mon Sep 17 00:00:00 2001
From: Andrei Karas <akaras@inbox.ru>
Date: Thu, 3 Mar 2016 23:58:08 +0300
Subject: Add support for readable links in quests.xml

Text like [old book] will be showed as link to item old book.
---
 src/gui/windows/questswindow.cpp | 1 +
 1 file changed, 1 insertion(+)

(limited to 'src/gui/windows')

diff --git a/src/gui/windows/questswindow.cpp b/src/gui/windows/questswindow.cpp
index 9e46c1793..8ca5276f0 100644
--- a/src/gui/windows/questswindow.cpp
+++ b/src/gui/windows/questswindow.cpp
@@ -232,6 +232,7 @@ void QuestsWindow::loadQuest(const int var, const XmlNodePtr node)
         if (!data)
             continue;
         std::string str = translator->getStr(data);
+        replaceItemLinks(str);
 
         if (xmlNameEqual(dataNode, "text"))
             quest->texts.push_back(QuestItemText(str, QuestType::TEXT));
-- 
cgit v1.2.3-70-g09d2