minor unlock system fixes
This commit is contained in:
@@ -139,7 +139,7 @@ ScreenUnlock::ScreenUnlock() : ScreenAttract("ScreenUnlock")
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (pSong != NULL)
|
if (pSong != NULL && pSong->m_pSong != NULL)
|
||||||
{
|
{
|
||||||
if( pSong->isLocked)
|
if( pSong->isLocked)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -273,6 +273,11 @@ bool UnlockSystem::LoadFromDATFile( CString sPath )
|
|||||||
LOG->Trace( " CS %f", m_SongEntries[i].m_fStagesCleared );
|
LOG->Trace( " CS %f", m_SongEntries[i].m_fStagesCleared );
|
||||||
LOG->Trace( " RO %i", m_SongEntries[i].m_iRouletteSeed );
|
LOG->Trace( " RO %i", m_SongEntries[i].m_iRouletteSeed );
|
||||||
LOG->Trace( " Status %slocked", tmp.c_str() );
|
LOG->Trace( " Status %slocked", tmp.c_str() );
|
||||||
|
if (m_SongEntries[i].m_pSong)
|
||||||
|
LOG->Trace( " Found matching song entry" );
|
||||||
|
if (m_SongEntries[i].m_pCourse)
|
||||||
|
LOG->Trace( " Found matching course entry" );
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user