1
0
Fork 0
mirror of https://github.com/isledecomp/isle.git synced 2025-03-27 23:20:32 -04:00

Match Radio::HandleControl ()

This commit is contained in:
Christian Semmler 2025-03-14 13:24:11 -07:00 committed by GitHub
parent 3d9c7a8956
commit 77435427b3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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();
}