diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-10-28 18:36:52 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-10-28 18:36:52 +0300 |
commit | 887a4d50d0c966af5f19e5ed2fe8b5556a6f818d (patch) | |
tree | 16ac03d6c9d8182ef39913501985d45bd33e7a5a /src/resources/db/npcdialogdb.cpp | |
parent | 8cd16a9a9ca605137276379361b0328af736c2cc (diff) | |
download | plus-887a4d50d0c966af5f19e5ed2fe8b5556a6f818d.tar.gz plus-887a4d50d0c966af5f19e5ed2fe8b5556a6f818d.tar.bz2 plus-887a4d50d0c966af5f19e5ed2fe8b5556a6f818d.tar.xz plus-887a4d50d0c966af5f19e5ed2fe8b5556a6f818d.zip |
In npc skinned dialogs add support for hide text part from npc window.
Diffstat (limited to 'src/resources/db/npcdialogdb.cpp')
-rw-r--r-- | src/resources/db/npcdialogdb.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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); } |