From 887a4d50d0c966af5f19e5ed2fe8b5556a6f818d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 28 Oct 2015 18:36:52 +0300 Subject: In npc skinned dialogs add support for hide text part from npc window. --- src/resources/db/npcdialogdb.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/resources/db') diff --git a/src/resources/db/npcdialogdb.cpp b/src/resources/db/npcdialogdb.cpp index cf334a601..cdb96a2ee 100644 --- a/src/resources/db/npcdialogdb.cpp +++ b/src/resources/db/npcdialogdb.cpp @@ -107,6 +107,8 @@ void NpcDialogDB::loadXmlFile(const std::string &fileName) deleteDialog(name); NpcDialogInfo *const dialog = new NpcDialogInfo; dialog->name = name; + dialog->hideText = XML::getBoolProperty( + node, "hideText", false); mDialogs[name] = dialog; loadNpcDialog(dialog, node); } -- cgit v1.2.3-70-g09d2