From dd29668acc894a970c9fe7f9e2f998ddb73567f3 Mon Sep 17 00:00:00 2001 From: Christian Semmler Date: Fri, 24 Jan 2025 16:01:11 -0700 Subject: [PATCH] Match --- LEGO1/lego/legoomni/src/worlds/historybook.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/LEGO1/lego/legoomni/src/worlds/historybook.cpp b/LEGO1/lego/legoomni/src/worlds/historybook.cpp index cfb2fa17..b3df73d5 100644 --- a/LEGO1/lego/legoomni/src/worlds/historybook.cpp +++ b/LEGO1/lego/legoomni/src/worlds/historybook.cpp @@ -103,9 +103,11 @@ void HistoryBook::ReadyWorld() MxS16 i; for (i = 0; i < 26; i++) { - m_alphabet[i] = (MxStillPresenter*) Find("MxStillPresenter", bitmap); - assert(m_alphabet[i]); - bitmap[0]++; + if (i < 26) { + m_alphabet[i] = (MxStillPresenter*) Find("MxStillPresenter", bitmap); + assert(m_alphabet[i]); + bitmap[0]++; + } } MxStillPresenter* scoreboxMaster = (MxStillPresenter*) Find("MxStillPresenter", "ScoreBox");