Sort skins without case (fixes #3213)

This commit is contained in:
def 2020-10-30 10:05:46 +01:00
parent 641d4db676
commit 055eadd88d

View file

@ -42,10 +42,10 @@ struct CSkin
char m_aName[24];
ColorRGBA m_BloodColor;
bool operator<(const CSkin &Other) const { return str_comp(m_aName, Other.m_aName) < 0; }
bool operator<(const CSkin &Other) const { return str_comp_nocase(m_aName, Other.m_aName) < 0; }
bool operator<(const char *pOther) const { return str_comp(m_aName, pOther) < 0; }
bool operator==(const char *pOther) const { return !str_comp(m_aName, pOther); }
bool operator<(const char *pOther) const { return str_comp_nocase(m_aName, pOther) < 0; }
bool operator==(const char *pOther) const { return !str_comp_nocase(m_aName, pOther); }
};
#endif