AD: Fix infinite loop in cleanupPirated.
svn-id: r52386
This commit is contained in:
parent
15e50a64b8
commit
4135dc7a7c
1 changed files with 2 additions and 0 deletions
|
@ -220,6 +220,8 @@ bool cleanupPirated(ADGameDescList &matched) {
|
|||
for (uint j = 0; j < matched.size();) {
|
||||
if (matched[j]->flags & ADGF_PIRATED)
|
||||
matched.remove_at(j);
|
||||
else
|
||||
++j;
|
||||
}
|
||||
|
||||
// We ruled out all variants and now have nothing
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue