From 4c3ee56c3fc90d9c0d6c1591fd9b8c598d38d04b Mon Sep 17 00:00:00 2001 From: Christian Semmler Date: Sun, 11 Feb 2024 09:54:33 -0500 Subject: [PATCH] Fix --- LEGO1/lego/legoomni/src/infocenter/infocenterdoor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LEGO1/lego/legoomni/src/infocenter/infocenterdoor.cpp b/LEGO1/lego/legoomni/src/infocenter/infocenterdoor.cpp index 6bd701a0..e15e6122 100644 --- a/LEGO1/lego/legoomni/src/infocenter/infocenterdoor.cpp +++ b/LEGO1/lego/legoomni/src/infocenter/infocenterdoor.cpp @@ -111,7 +111,7 @@ MxLong InfocenterDoor::HandleClick(LegoControlManagerEvent& p_param) case 4: if (GameState()->GetUnknownC()) { InfocenterState* state = (InfocenterState*) GameState()->GetState("InfocenterState"); - if (state->GetNameLetter(0) != NULL) { + if (state->DoesNameExist()) { m_unk0xf8 = LegoGameState::e_unk4; } else {