mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 16:34:06 +00:00
Implement/match Isle::CreateState and related (#948)
This commit is contained in:

committed by
GitHub

parent
1633118f68
commit
63719ef689
@@ -22,7 +22,7 @@ Radio::Radio()
|
||||
ControlManager()->Register(this);
|
||||
|
||||
m_unk0x0c = TRUE;
|
||||
CreateRadioState();
|
||||
CreateState();
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x1002c990
|
||||
@@ -147,12 +147,12 @@ void Radio::Initialize(MxBool p_und)
|
||||
{
|
||||
if (m_unk0x0c != p_und) {
|
||||
m_unk0x0c = p_und;
|
||||
CreateRadioState();
|
||||
CreateState();
|
||||
}
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x1002cde0
|
||||
void Radio::CreateRadioState()
|
||||
void Radio::CreateState()
|
||||
{
|
||||
LegoGameState* gameState = GameState();
|
||||
RadioState* state = (RadioState*) gameState->GetState("RadioState");
|
||||
|
Reference in New Issue
Block a user