Skip to content

Commit f218015

Browse files
committed
alright this time for real
1 parent d252779 commit f218015

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

repentogon/Patches/XMLData.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1255,7 +1255,7 @@ void ProcessXmlNode(xml_node<char>* node,bool force = false) {
12551255
for (xml_node<char>* auxnode = node->first_node(); auxnode; auxnode = auxnode->next_sibling()) {
12561256
string meh = stringlower(auxnode->name());
12571257
const char* auxnodename = meh.c_str();
1258-
if ((strcmp(auxnodename, "active") == 0) || (strcmp(auxnodename, "passive") == 0) || (strcmp(auxnodename, "familiar") == 0)) {
1258+
if ((strcmp(auxnodename, "active") == 0) || (strcmp(auxnodename, "passive") == 0) || (strcmp(auxnodename, "familiar") == 0) || ((strcmp(auxnodename, "item") == 0) && isitemmetadata)) {
12591259
XMLAttributes item;
12601260
for (xml_attribute<>* attr = auxnode->first_attribute(); attr; attr = attr->next_attribute())
12611261
{

0 commit comments

Comments
 (0)