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

@@ -50,11 +50,11 @@ MxLong HistoryBook::Notify(MxParam& p_param)
if (m_worldStarted) {
switch (((MxNotificationParam&) p_param).GetNotification()) {
case c_notificationButtonUp:
m_transitionDestination = LegoGameState::Area::e_infoscor;
m_destLocation = LegoGameState::Area::e_infoscor;
TransitionManager()->StartTransition(MxTransitionManager::TransitionType::e_mosaic, 50, FALSE, FALSE);
break;
case c_notificationTransitioned:
GameState()->SwitchArea(m_transitionDestination);
GameState()->SwitchArea(m_destLocation);
break;
}
}
@@ -149,6 +149,6 @@ void HistoryBook::ReadyWorld()
// FUNCTION: LEGO1 0x10082a10
MxBool HistoryBook::VTable0x64()
{
m_transitionDestination = LegoGameState::Area::e_infomain;
m_destLocation = LegoGameState::Area::e_infomain;
return TRUE;
}