mirror of
https://github.com/isledecomp/isle.git
synced 2025-03-27 23:20:32 -04:00
Match Radio::HandleControl
(#1408)
This commit is contained in:
parent
3d9c7a8956
commit
77435427b3
1 changed files with 3 additions and 2 deletions
|
@ -141,12 +141,13 @@ void Radio::Stop()
|
|||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x1002cbc0
|
||||
// FUNCTION: BETA10 0x100f1ce1
|
||||
MxLong Radio::HandleControl(LegoControlManagerNotificationParam& p_param)
|
||||
{
|
||||
MxDSAction action; // Unused
|
||||
MxS32 objectId = p_param.m_clickedObjectId;
|
||||
|
||||
if (objectId == IsleScript::c_Radio_Ctl) {
|
||||
switch (p_param.m_clickedObjectId) {
|
||||
case IsleScript::c_Radio_Ctl:
|
||||
if (m_state->IsActive()) {
|
||||
Stop();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue