Skip to content

Commit

Permalink
Match RegistrationBook::ReadyWorld (#1375)
Browse files Browse the repository at this point in the history
  • Loading branch information
foxtacles authored Jan 24, 2025
1 parent 82f2e2e commit 382f058
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions LEGO1/lego/legoomni/src/worlds/registrationbook.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -392,17 +392,20 @@ void RegistrationBook::ReadyWorld()
{
LegoGameState* gameState = GameState();
gameState->m_history.WriteScoreHistory();
MxS16 i;

PlayMusic(JukeboxScript::c_InformationCenter_Music);

char letterBuffer[] = "A_Bitmap";
MxS16 i;

for (i = 0; i < 26; i++) {
m_alphabet[i] = (MxStillPresenter*) Find("MxStillPresenter", letterBuffer);
if (i < 26) {
m_alphabet[i] = (MxStillPresenter*) Find("MxStillPresenter", letterBuffer);

// We need to loop through the entire alphabet,
// so increment the first char of the bitmap name
letterBuffer[0]++;
// We need to loop through the entire alphabet,
// so increment the first char of the bitmap name
letterBuffer[0]++;
}
}

// Now we have to do the checkmarks
Expand Down Expand Up @@ -437,7 +440,7 @@ void RegistrationBook::ReadyWorld()
}
}

if (m_infocenterState->HasRegistered()) {
if (m_infocenterState->m_letters[0] != NULL) {
PlayAction(RegbookScript::c_iic008in_PlayWav);

LegoROI* infoman = FindROI(g_infoman);
Expand Down

0 comments on commit 382f058

Please sign in to comment.