slight style tweaks to legogamestate and related members (#666)

This commit is contained in:
Ramen2X
2024-03-13 13:17:20 -04:00
committed by GitHub
parent 4aafc435f5
commit beb30e80ea
21 changed files with 104 additions and 104 deletions

View File

@@ -16,7 +16,7 @@ GasStation::GasStation()
{
m_unk0xf8 = 0;
m_state = NULL;
m_transitionDestination = LegoGameState::e_noArea;
m_destLocation = LegoGameState::e_undefined;
m_unk0x108 = 0;
m_unk0x104 = 0;
m_unk0x114 = 0;
@@ -100,7 +100,7 @@ MxLong GasStation::Notify(MxParam& p_param)
result = HandleClick((LegoControlManagerEvent&) p_param);
break;
case c_notificationTransitioned:
GameState()->SwitchArea(m_transitionDestination);
GameState()->SwitchArea(m_destLocation);
break;
}
}