diff --git a/external/3rd/library/soePlatform/VChatAPI/utils2.0/utils/Base/serializeTemplates.h b/external/3rd/library/soePlatform/VChatAPI/utils2.0/utils/Base/serializeTemplates.h index 4af421bb..c2f745ed 100644 --- a/external/3rd/library/soePlatform/VChatAPI/utils2.0/utils/Base/serializeTemplates.h +++ b/external/3rd/library/soePlatform/VChatAPI/utils2.0/utils/Base/serializeTemplates.h @@ -719,9 +719,10 @@ namespace soe int ClassScribe::Print(char * stream, unsigned size, const ClassType & data, unsigned maxDepth) const { int bytesTotal = 0; - int bytes = 0; #ifdef PRINTABLE_MESSAGES + int bytes = 0; + if (maxDepth == 0) { bytes = snprintf(stream, size, "%s{mMembers(%u)}", ClassName(), mMemberScribes.size()); return bytes;