Replace FALSE with NULL

This commit is contained in:
Christian Semmler 2023-11-25 07:22:23 -05:00
parent 7db2b2e6b7
commit 5aa548c449
No known key found for this signature in database
GPG key ID: 086DAA1360BEEE5C

View file

@ -139,7 +139,7 @@ MxResult MxPresenter::StartAction(MxStreamController*, MxDSAction* p_action)
// OFFSET: LEGO1 0x100b4e40 // OFFSET: LEGO1 0x100b4e40
void MxPresenter::EndAction() void MxPresenter::EndAction()
{ {
if (this->m_action == FALSE) if (this->m_action == NULL)
return; return;
MxAutoLocker lock(&this->m_criticalSection); MxAutoLocker lock(&this->m_criticalSection);
@ -150,7 +150,7 @@ void MxPresenter::EndAction()
); );
} }
this->m_action = FALSE; this->m_action = NULL;
MxS32 previousTickleState = 1 << m_currentTickleState; MxS32 previousTickleState = 1 << m_currentTickleState;
this->m_previousTickleStates |= previousTickleState; this->m_previousTickleStates |= previousTickleState;
this->m_currentTickleState = TickleState_Idle; this->m_currentTickleState = TickleState_Idle;