From f5fd202395bb384909d7eeabf79fca8fb6dcd96c Mon Sep 17 00:00:00 2001 From: disinvite Date: Sun, 19 Jan 2025 12:46:46 -0500 Subject: [PATCH] Remove copy constructor for LegoGameState::Username --- LEGO1/lego/legoomni/include/legogamestate.h | 1 - LEGO1/lego/legoomni/src/common/legogamestate.cpp | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/LEGO1/lego/legoomni/include/legogamestate.h b/LEGO1/lego/legoomni/include/legogamestate.h index 5b41a966..dc1e6a97 100644 --- a/LEGO1/lego/legoomni/include/legogamestate.h +++ b/LEGO1/lego/legoomni/include/legogamestate.h @@ -135,7 +135,6 @@ class LegoGameState { // SIZE 0x0e struct Username { Username(); - Username(Username& p_other) { Set(p_other); } void Set(Username& p_other) { memcpy(m_letters, p_other.m_letters, sizeof(m_letters)); } MxResult Serialize(LegoStorage* p_storage); diff --git a/LEGO1/lego/legoomni/src/common/legogamestate.cpp b/LEGO1/lego/legoomni/src/common/legogamestate.cpp index 1b852323..cd4a6f1b 100644 --- a/LEGO1/lego/legoomni/src/common/legogamestate.cpp +++ b/LEGO1/lego/legoomni/src/common/legogamestate.cpp @@ -624,6 +624,7 @@ MxResult LegoGameState::AddPlayer(Username& p_player) } // FUNCTION: LEGO1 0x1003a540 +// FUNCTION: BETA10 0x10084fc4 void LegoGameState::SwitchPlayer(MxS16 p_playerId) { if (p_playerId > 0) {