Style fixes

This commit is contained in:
Christian Semmler 2024-02-09 09:38:08 -05:00
parent 26549dbaa0
commit 2ea8d5c3ef

View File

@ -104,14 +104,16 @@ MxLong Police::HandleNotification11(MxNotificationParam& p_param)
MxLong Police::HandleEndAction(MxEndActionNotificationParam& p_param) MxLong Police::HandleEndAction(MxEndActionNotificationParam& p_param)
{ {
MxDSAction* action = p_param.GetAction(); MxDSAction* action = p_param.GetAction();
MxLong result = m_radio.Notify(p_param);
if (result == 0 && m_atom == action->GetAtomId()) { if (m_radio.Notify(p_param) == 0 && m_atom == action->GetAtomId()) {
if (m_policeState->GetUnknown0x0c() == 1) { if (m_policeState->GetUnknown0x0c() == 1) {
m_policeState->SetUnknown0x0c(0); m_policeState->SetUnknown0x0c(0);
return 1; return 1;
} }
return 0; return 0;
} }
return 0; return 0;
} }