mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-22 16:04:17 +00:00
Implement Police::HandleEndAction (#543)
* Implement Police::HandleEndAction * Style fixes --------- Co-authored-by: Christian Semmler <mail@csemmler.com>
This commit is contained in:
@@ -100,10 +100,20 @@ MxLong Police::HandleNotification11(MxNotificationParam& p_param)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
// STUB: LEGO1 0x1005e6a0
|
// FUNCTION: LEGO1 0x1005e6a0
|
||||||
MxLong Police::HandleEndAction(MxEndActionNotificationParam& p_param)
|
MxLong Police::HandleEndAction(MxEndActionNotificationParam& p_param)
|
||||||
{
|
{
|
||||||
// TODO
|
MxDSAction* action = p_param.GetAction();
|
||||||
|
|
||||||
|
if (m_radio.Notify(p_param) == 0 && m_atom == action->GetAtomId()) {
|
||||||
|
if (m_policeState->GetUnknown0x0c() == 1) {
|
||||||
|
m_policeState->SetUnknown0x0c(0);
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user