Well that didn't work.. it did give me the exact same cFastNBTWriter11AddIntArray thing in the log though
I commented out cFastNBTWriter::AddIntArray and it doesn't crash :/ ???
Commenting out a single line in AddIntArray makes it not crash O_o
I commented out cFastNBTWriter::AddIntArray and it doesn't crash :/ ???
Commenting out a single line in AddIntArray makes it not crash O_o
void cFastNBTWriter::AddIntArray(const AString & a_Name, const int * a_Value, size_t a_NumElements) { TagCommon(a_Name, TAG_IntArray); Int32 len = htonl(a_NumElements); m_Result.append((const char *)&len, 4); int * Elements = (int *)(m_Result.data() + m_Result.size()); m_Result.append(a_NumElements * 4, (char)0); for (size_t i = 0; i < a_NumElements; i++) { //Elements[i] = htonl(a_Value[i]); } }