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
|
||||
{
|
||||
FOREACH_CONST( UnlockEntry, m_UnlockEntries, e )
|
||||
if( e->GetModifier() == 0 )
|
||||
if( e->GetModifier().CompareNoCase(sOneMod) == 0 )
|
||||
return &(*e);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user