From 27ad466ce8d855a61650e54cfd5ab27184c7e748 Mon Sep 17 00:00:00 2001 From: Christian Semmler Date: Thu, 29 Jun 2023 09:17:39 +0200 Subject: [PATCH] Update mxdsobject.cpp --- LEGO1/mxdsobject.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/LEGO1/mxdsobject.cpp b/LEGO1/mxdsobject.cpp index e375e6c8..fd4b7434 100644 --- a/LEGO1/mxdsobject.cpp +++ b/LEGO1/mxdsobject.cpp @@ -66,8 +66,7 @@ void MxDSObject::SetObjectName(const char *p_name) // OFFSET: LEGO1 0x100bf950 void MxDSObject::SetSourceName(const char *p_sourceName) { - if (p_sourceName != this->m_sourceName) - { + if (p_sourceName != this->m_sourceName) { delete[] this->m_sourceName; if (p_sourceName) { @@ -125,4 +124,4 @@ void MxDSObject::Parse(char **p_source, unsigned short p_unk24) *p_source += 4; this->m_unk24 = p_unk24; -} \ No newline at end of file +}