mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-25 09:24:17 +00:00
Implement/match LegoPlantManager::FUN_10026c50 (#1043)
* Minor fixes * Implement/match LegoPlantManager::FUN_10026c50
This commit is contained in:
committed by
GitHub
parent
c9c130eb87
commit
62307e1819
@@ -135,7 +135,7 @@ void ElevatorBottom::Enable(MxBool p_enable)
|
||||
// FUNCTION: LEGO1 0x10018310
|
||||
MxBool ElevatorBottom::Escape()
|
||||
{
|
||||
DeleteObjects(&m_atom, 500, 999);
|
||||
DeleteObjects(&m_atom, ElevbottScript::c_iica31in_PlayWav, 999);
|
||||
m_destLocation = LegoGameState::e_infomain;
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
@@ -95,7 +95,7 @@ MxLong InfocenterDoor::HandleControl(LegoControlManagerNotificationParam& p_para
|
||||
MxLong result = 0;
|
||||
|
||||
if (p_param.GetUnknown0x28() == 1) {
|
||||
DeleteObjects(&m_atom, 500, 510);
|
||||
DeleteObjects(&m_atom, InfodoorScript::c_iic037in_PlayWav, 510);
|
||||
|
||||
switch (p_param.GetClickedObjectId()) {
|
||||
case InfodoorScript::c_LeftArrow_Ctl:
|
||||
@@ -167,7 +167,7 @@ void InfocenterDoor::Enable(MxBool p_enable)
|
||||
// FUNCTION: LEGO1 0x10037cd0
|
||||
MxBool InfocenterDoor::Escape()
|
||||
{
|
||||
DeleteObjects(&m_atom, 500, 510);
|
||||
DeleteObjects(&m_atom, InfodoorScript::c_iic037in_PlayWav, 510);
|
||||
m_destLocation = LegoGameState::e_infomain;
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user