minor unlock system fixes

This commit is contained in:
Andrew Wong
2003-07-24 14:04:13 +00:00
parent c48cb2416b
commit 4fa5cbf673
2 changed files with 6 additions and 1 deletions
+1 -1
View File
@@ -139,7 +139,7 @@ ScreenUnlock::ScreenUnlock() : ScreenAttract("ScreenUnlock")
}
}
if (pSong != NULL)
if (pSong != NULL && pSong->m_pSong != NULL)
{
if( pSong->isLocked)
{
+5
View File
@@ -273,6 +273,11 @@ bool UnlockSystem::LoadFromDATFile( CString sPath )
LOG->Trace( " CS %f", m_SongEntries[i].m_fStagesCleared );
LOG->Trace( " RO %i", m_SongEntries[i].m_iRouletteSeed );
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" );
}