mirror of
https://github.com/isledecomp/isle-portable.git
synced 2024-11-22 23:48:12 -05:00
Replace magic values with proper flag clearing
This commit is contained in:
parent
cdc7b43db2
commit
2686643d20
4 changed files with 8 additions and 8 deletions
|
@ -12,8 +12,8 @@ DECOMP_SIZE_ASSERT(MxFlcPresenter, 0x68);
|
||||||
MxFlcPresenter::MxFlcPresenter()
|
MxFlcPresenter::MxFlcPresenter()
|
||||||
{
|
{
|
||||||
this->m_flicHeader = NULL;
|
this->m_flicHeader = NULL;
|
||||||
this->m_flags &= 0xfd;
|
this->m_flags &= ~Flag_Bit2;
|
||||||
this->m_flags &= 0xfb;
|
this->m_flags &= ~Flag_Bit3;
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x100b3420
|
// FUNCTION: LEGO1 0x100b3420
|
||||||
|
|
|
@ -20,8 +20,8 @@ MxLoopingFlcPresenter::~MxLoopingFlcPresenter()
|
||||||
void MxLoopingFlcPresenter::Init()
|
void MxLoopingFlcPresenter::Init()
|
||||||
{
|
{
|
||||||
this->m_unk0x68 = 0;
|
this->m_unk0x68 = 0;
|
||||||
this->m_flags &= 0xfd;
|
this->m_flags &= ~Flag_Bit2;
|
||||||
this->m_flags &= 0xfb;
|
this->m_flags &= ~Flag_Bit3;
|
||||||
}
|
}
|
||||||
|
|
||||||
// STUB: LEGO1 0x100b4432
|
// STUB: LEGO1 0x100b4432
|
||||||
|
|
|
@ -21,8 +21,8 @@ MxLoopingSmkPresenter::~MxLoopingSmkPresenter()
|
||||||
void MxLoopingSmkPresenter::Init()
|
void MxLoopingSmkPresenter::Init()
|
||||||
{
|
{
|
||||||
this->m_elapsedDuration = 0;
|
this->m_elapsedDuration = 0;
|
||||||
this->m_flags &= 0xfd;
|
this->m_flags &= ~Flag_Bit2;
|
||||||
this->m_flags &= 0xfb;
|
this->m_flags &= ~Flag_Bit3;
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x100b49d0
|
// FUNCTION: LEGO1 0x100b49d0
|
||||||
|
|
|
@ -23,8 +23,8 @@ void MxSmkPresenter::Init()
|
||||||
{
|
{
|
||||||
m_currentFrame = 0;
|
m_currentFrame = 0;
|
||||||
memset(&m_mxSmack, 0, sizeof(m_mxSmack));
|
memset(&m_mxSmack, 0, sizeof(m_mxSmack));
|
||||||
m_flags &= 0xfd;
|
m_flags &= ~Flag_Bit2;
|
||||||
m_flags &= 0xfb;
|
m_flags &= ~Flag_Bit3;
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x100b3900
|
// FUNCTION: LEGO1 0x100b3900
|
||||||
|
|
Loading…
Reference in a new issue