fix and simplify
This commit is contained in:
@@ -141,7 +141,7 @@ void CatalogXml::Save( LoadingWindow *loading_window )
|
|||||||
int iNumUnlockedCourses = 0;
|
int iNumUnlockedCourses = 0;
|
||||||
FOREACH_CONST( UnlockEntry, UNLOCKMAN->m_UnlockEntries, e )
|
FOREACH_CONST( UnlockEntry, UNLOCKMAN->m_UnlockEntries, e )
|
||||||
{
|
{
|
||||||
if( e->GetUnlockEntryStatus() == UnlockEntryStatus_Unlocked )
|
if( e->IsLocked() )
|
||||||
continue;
|
continue;
|
||||||
switch( e->m_Type )
|
switch( e->m_Type )
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user