summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gui/windows/questswindow.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/windows/questswindow.cpp b/src/gui/windows/questswindow.cpp
index 24b11d308..690781cea 100644
--- a/src/gui/windows/questswindow.cpp
+++ b/src/gui/windows/questswindow.cpp
@@ -184,6 +184,7 @@ void QuestsWindow::loadXmlFile(const std::string &fileName)
const int id = XML::getProperty(varNode, "id", 0);
if (id < 0)
continue;
+ mVars[id] = 0;
for_each_xml_child_node(questNode, varNode)
{
if (xmlNameEqual(questNode, "quest"))