aboutsummaryrefslogtreecommitdiffstats
path: root/src/entities.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/entities.cpp')
-rw-r--r--src/entities.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/entities.cpp b/src/entities.cpp
index e49d0ca..53d3aca 100644
--- a/src/entities.cpp
+++ b/src/entities.cpp
@@ -711,7 +711,7 @@ COMMONAIFUNC:
goto COMMONAIFUNC;
}
}
- } while((oxml = oxml->NextSiblingElement()));
+ } while((oxml = oxml->NextSiblingElement("quest")));
}
// handle give tags
@@ -743,6 +743,7 @@ COMMONAIFUNC:
}
// asdlfkj
+
auto txml = exml->FirstChildElement("content");
if (txml == nullptr)
goto OTHERSTUFF;