diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-09-06 20:35:52 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-09-06 20:35:52 +0300 |
commit | e06101a4c8633a43d813d4a62bde2d9f49c128bf (patch) | |
tree | 7b70840bc1da7c37afcd69deba280709b9385ff8 | |
parent | f96861c0115f6808d8246b3e6defc828ab3a255e (diff) | |
download | plus-e06101a4c8633a43d813d4a62bde2d9f49c128bf.tar.gz plus-e06101a4c8633a43d813d4a62bde2d9f49c128bf.tar.bz2 plus-e06101a4c8633a43d813d4a62bde2d9f49c128bf.tar.xz plus-e06101a4c8633a43d813d4a62bde2d9f49c128bf.zip |
Set to all quests value 0 by default.
-rw-r--r-- | src/gui/windows/questswindow.cpp | 1 |
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")) |