fix mod unlocks
This commit is contained in:
@@ -181,7 +181,7 @@ const UnlockEntry *UnlockManager::FindCourse( const Course *pCourse ) const
|
|||||||
const UnlockEntry *UnlockManager::FindModifier( const RString &sOneMod ) const
|
const UnlockEntry *UnlockManager::FindModifier( const RString &sOneMod ) const
|
||||||
{
|
{
|
||||||
FOREACH_CONST( UnlockEntry, m_UnlockEntries, e )
|
FOREACH_CONST( UnlockEntry, m_UnlockEntries, e )
|
||||||
if( e->GetModifier() == 0 )
|
if( e->GetModifier().CompareNoCase(sOneMod) == 0 )
|
||||||
return &(*e);
|
return &(*e);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user