mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-29 23:42:33 +00:00
- searchpaths.cpp: When filtering duplicate games to delete, if CRC matches and CRC == 0, test whether name matches as well.
* Cryptic Passage for Blood has no CRC and therefore was failing this catch. * Fixes #130
This commit is contained in:
parent
66c097b3b8
commit
a00da23654
1 changed files with 1 additions and 1 deletions
|
@ -858,7 +858,7 @@ TArray<GrpEntry> GrpScan()
|
||||||
{
|
{
|
||||||
for (unsigned j = foundGames.Size() - 1; j > i; j--)
|
for (unsigned j = foundGames.Size() - 1; j > i; j--)
|
||||||
{
|
{
|
||||||
if (foundGames[i].FileInfo.CRC == foundGames[j].FileInfo.CRC && foundGames[j].FileInfo.CRC != 0)
|
if (foundGames[i].FileInfo.CRC == foundGames[j].FileInfo.CRC && (foundGames[j].FileInfo.CRC != 0 || foundGames[i].FileInfo.name == foundGames[j].FileInfo.name))
|
||||||
foundGames.Delete(j);
|
foundGames.Delete(j);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue