From 6e47c6b295359d4580078290037eda57f3c52f5f Mon Sep 17 00:00:00 2001 From: Anonymous Maarten Date: Tue, 25 Jun 2024 15:02:47 +0200 Subject: [PATCH] Fix warning about assigning const string literals to variable char pointers --- LEGO1/lego/legoomni/include/legoanimationmanager.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/LEGO1/lego/legoomni/include/legoanimationmanager.h b/LEGO1/lego/legoomni/include/legoanimationmanager.h index 018a0059..402a4485 100644 --- a/LEGO1/lego/legoomni/include/legoanimationmanager.h +++ b/LEGO1/lego/legoomni/include/legoanimationmanager.h @@ -95,7 +95,7 @@ class LegoAnimationManager : public MxCore { public: // SIZE 0x18 struct Character { - char* m_name; // 0x00 + const char* m_name; // 0x00 MxBool m_inExtras; // 0x04 MxS8 m_vehicleId; // 0x05 undefined m_unk0x06; // 0x06 (unused?) @@ -111,9 +111,9 @@ class LegoAnimationManager : public MxCore { // SIZE 0x08 struct Vehicle { - char* m_name; // 0x00 - MxBool m_unk0x04; // 0x04 - MxBool m_unk0x05; // 0x05 + const char* m_name; // 0x00 + MxBool m_unk0x04; // 0x04 + MxBool m_unk0x05; // 0x05 }; // SIZE 0x18