Update legogamestate.cpp (#1582)

This commit is contained in:
Christian Semmler 2025-06-22 09:48:09 -07:00 committed by GitHub
parent 0a50915312
commit 8195d2b251
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1532,8 +1532,6 @@ void LegoGameState::History::WriteScoreHistory()
}
else {
if (m_count < (MxS16) sizeOfArray(m_scores)) {
assert(totalScore > p_scorehist->m_totalScore);
m_scores[m_count].m_totalScore = totalScore;
memcpy(m_scores[m_count].m_scores, scores, sizeof(m_scores[m_count].m_scores));
m_scores[m_count].m_name = GameState()->m_players[0];