From b0d98ff1bbda9fa25515a28bcf0c36314156c66c Mon Sep 17 00:00:00 2001 From: Anghelo Carvajal Date: Thu, 22 Apr 2021 14:54:23 -0400 Subject: Add a few errors checks (#119) * Check for repeated names, outnames and offsets Signed-off-by: angie * Check for File inside File Signed-off-by: angie * Error if a ZResource node has a child Signed-off-by: angie * Error if an invalid ZResource name is included in the XML Signed-off-by: angie * error when a ZResource is not in a ZFile Signed-off-by: angie * ups Signed-off-by: angie * Add error if unknown element is found and other fixes * Run format --- ZAPD/ZArray.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'ZAPD/ZArray.cpp') diff --git a/ZAPD/ZArray.cpp b/ZAPD/ZArray.cpp index f00d85d..dabe526 100644 --- a/ZAPD/ZArray.cpp +++ b/ZAPD/ZArray.cpp @@ -7,6 +7,7 @@ REGISTER_ZFILENODE(Array, ZArray); ZArray::ZArray(ZFile* nParent) : ZResource(nParent) { + canHaveInner = true; } void ZArray::ParseXML(tinyxml2::XMLElement* reader) -- cgit v1.2.3