mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-02-03 12:31:15 +00:00
Fix warning about assigning const string literals to variable char pointers
This commit is contained in:
parent
9a2de9bccc
commit
6e47c6b295
@ -95,7 +95,7 @@ class LegoAnimationManager : public MxCore {
|
|||||||
public:
|
public:
|
||||||
// SIZE 0x18
|
// SIZE 0x18
|
||||||
struct Character {
|
struct Character {
|
||||||
char* m_name; // 0x00
|
const char* m_name; // 0x00
|
||||||
MxBool m_inExtras; // 0x04
|
MxBool m_inExtras; // 0x04
|
||||||
MxS8 m_vehicleId; // 0x05
|
MxS8 m_vehicleId; // 0x05
|
||||||
undefined m_unk0x06; // 0x06 (unused?)
|
undefined m_unk0x06; // 0x06 (unused?)
|
||||||
@ -111,9 +111,9 @@ class LegoAnimationManager : public MxCore {
|
|||||||
|
|
||||||
// SIZE 0x08
|
// SIZE 0x08
|
||||||
struct Vehicle {
|
struct Vehicle {
|
||||||
char* m_name; // 0x00
|
const char* m_name; // 0x00
|
||||||
MxBool m_unk0x04; // 0x04
|
MxBool m_unk0x04; // 0x04
|
||||||
MxBool m_unk0x05; // 0x05
|
MxBool m_unk0x05; // 0x05
|
||||||
};
|
};
|
||||||
|
|
||||||
// SIZE 0x18
|
// SIZE 0x18
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user