summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gui/windows/questswindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/windows/questswindow.cpp b/src/gui/windows/questswindow.cpp
index c75fde58f..a8c86e097 100644
--- a/src/gui/windows/questswindow.cpp
+++ b/src/gui/windows/questswindow.cpp
@@ -234,7 +234,6 @@ void QuestsWindow::loadQuest(const int var, const XmlNodePtr node)
if (!data)
continue;
std::string str = translator->getStr(data);
- replaceItemLinks(str);
for (int f = 1; f < 100; f ++)
{
@@ -247,6 +246,7 @@ void QuestsWindow::loadQuest(const int var, const XmlNodePtr node)
const std::string param = strprintf("{@@%d}", f);
replaceAll(str, param, val);
}
+ replaceItemLinks(str);
if (xmlNameEqual(dataNode, "text"))
{
quest->texts.push_back(QuestItemText(str,