Update mxdsobject.cpp

This commit is contained in:
Christian Semmler 2023-08-07 18:52:07 -04:00 committed by GitHub
parent e18eac9c91
commit 71bd48555e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -122,8 +122,8 @@ void MxDSObject::Deserialize(char **p_source, MxS16 p_unk24)
this->SetObjectName(*p_source); this->SetObjectName(*p_source);
*p_source += strlen(this->m_objectName) + 1; *p_source += strlen(this->m_objectName) + 1;
this->m_objectId = *(undefined4*) *p_source; this->m_objectId = *(MxU32*) *p_source;
*p_source += sizeof(undefined4); *p_source += sizeof(MxU32);
this->m_unk24 = p_unk24; this->m_unk24 = p_unk24;
} }