mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-28 18:51:16 +00:00
Match GasStation::HandleClick
This commit is contained in:
parent
3ac8999f4d
commit
1782c8e5f8
@ -312,6 +312,9 @@ MxLong GasStation::HandleButtonDown(LegoControlManagerEvent& p_param)
|
|||||||
// FUNCTION: LEGO1 0x10005b20
|
// FUNCTION: LEGO1 0x10005b20
|
||||||
MxLong GasStation::HandleClick(LegoControlManagerEvent& p_param)
|
MxLong GasStation::HandleClick(LegoControlManagerEvent& p_param)
|
||||||
{
|
{
|
||||||
|
if (p_param.GetUnknown0x28() == 1) {
|
||||||
|
MxDSAction action;
|
||||||
|
|
||||||
switch (p_param.GetClickedObjectId()) {
|
switch (p_param.GetClickedObjectId()) {
|
||||||
case GarageScript::c_LeftArrow_Ctl:
|
case GarageScript::c_LeftArrow_Ctl:
|
||||||
case GarageScript::c_RightArrow_Ctl:
|
case GarageScript::c_RightArrow_Ctl:
|
||||||
@ -342,6 +345,8 @@ MxLong GasStation::HandleClick(LegoControlManagerEvent& p_param)
|
|||||||
TransitionManager()->StartTransition(MxTransitionManager::e_mosaic, 50, FALSE, FALSE);
|
TransitionManager()->StartTransition(MxTransitionManager::e_mosaic, 50, FALSE, FALSE);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user