summaryrefslogtreecommitdiffstats
path: root/source/NBT.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--source/NBT.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/NBT.h b/source/NBT.h
index 6d3ecebd9..f63e1fea1 100644
--- a/source/NBT.h
+++ b/source/NBT.h
@@ -109,8 +109,8 @@ class cNBTList :
eTagType m_ChildrenType;
public:
- cNBTList(cNBTTag * a_Parent) : cNBTTag(a_Parent, TAG_List), m_ChildrenType(TAG_End) {}
- cNBTList(cNBTTag * a_Parent, const AString & a_Name) : cNBTTag(a_Parent, TAG_List, a_Name), m_ChildrenType(TAG_End) {}
+ cNBTList(cNBTTag * a_Parent, eTagType a_ChildrenType) : cNBTTag(a_Parent, TAG_List), m_ChildrenType(a_ChildrenType) {}
+ cNBTList(cNBTTag * a_Parent, const AString & a_Name, eTagType a_ChildrenType) : cNBTTag(a_Parent, TAG_List, a_Name), m_ChildrenType(a_ChildrenType) {}
virtual ~cNBTList() {Clear(); }
void Clear (void);