Open
Description
Sorting logic is wrong in GameSortStruct::operator()
with g2Good
.
struct GameSortStruct
{
bool operator()(GameSpyStagingRoom *g1, GameSpyStagingRoom *g2) const
{
// sort CRC mismatches to the bottom
Bool g1Good = (g1->getExeCRC() != TheGlobalData->m_exeCRC || g1->getIniCRC() != TheGlobalData->m_iniCRC);
Bool g2Good = (g1->getExeCRC() != TheGlobalData->m_exeCRC || g1->getIniCRC() != TheGlobalData->m_iniCRC); // <--- wrong
if ( g1Good ^ g2Good )
{
return g1Good;
}
...