mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-28 10:41:15 +00:00
style/spacing
This commit is contained in:
parent
4ef95a1fbe
commit
eac8a13aa4
@ -75,10 +75,12 @@ void LegoLoadCacheSoundPresenter::DoneTickle()
|
||||
MxResult LegoLoadCacheSoundPresenter::PutData()
|
||||
{
|
||||
m_criticalSection.Enter();
|
||||
|
||||
if (m_currentTickleState == e_done) {
|
||||
m_cacheSound = SoundManager()->GetUnknown0x40()->FUN_1003d290(m_cacheSound);
|
||||
m_unk0x7c = 1;
|
||||
}
|
||||
|
||||
m_criticalSection.Leave();
|
||||
return SUCCESS;
|
||||
}
|
||||
|
||||
@ -118,7 +118,8 @@ MxResult LegoTexturePresenter::Store()
|
||||
MxResult LegoTexturePresenter::PutData()
|
||||
{
|
||||
MxResult result = SUCCESS;
|
||||
if (MxPresenter::IsEnabled() && m_currentChunk) {
|
||||
|
||||
if (MxPresenter::IsEnabled() && m_currentChunk != NULL) {
|
||||
result = Read(*m_currentChunk);
|
||||
if (result == SUCCESS) {
|
||||
Store();
|
||||
@ -129,6 +130,7 @@ MxResult LegoTexturePresenter::PutData()
|
||||
}
|
||||
m_currentChunk = NULL;
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user