Fix -Wwrite-strings warnings (#1267)

warning: ISO C++ forbids converting a string constant to 'LegoChar*'
This commit is contained in:
Anonymous Maarten
2024-12-24 01:11:38 +01:00
committed by GitHub
parent 3f4732b0bc
commit b4d2ea72af
6 changed files with 8 additions and 8 deletions

View File

@@ -41,7 +41,7 @@ public:
void Mute(MxBool p_muted);
private:
static LegoChar* g_lodNames[];
static const LegoChar* g_lodNames[];
static MxLong g_lastHitActorTime;
LegoCacheSound* m_whistleSound; // 0x154