mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-27 04:00:42 +00:00
- Remove early return from GrpScan()
that was allowing addons to come through even if they weren't valid.
* Raze configured to only search $PROGDIR with a single `worldtour.grp` file would attempt to autoload even if its dependency CRC wasn't present. Attempted to re-arrange function but had mixed results. Removing this early return is what worked under all test cases.
This commit is contained in:
parent
271eb16833
commit
fd149e50ee
1 changed files with 0 additions and 3 deletions
|
@ -840,9 +840,6 @@ TArray<GrpEntry> GrpScan()
|
||||||
sortedFileList.Delete(0, findex + 1);
|
sortedFileList.Delete(0, findex + 1);
|
||||||
sortedGroupList.Delete(0, gindex + 1);
|
sortedGroupList.Delete(0, gindex + 1);
|
||||||
|
|
||||||
if (sortedGroupList.Size() == 0 || sortedFileList.Size() == 0)
|
|
||||||
return foundGames;
|
|
||||||
|
|
||||||
for (auto entry : sortedFileList)
|
for (auto entry : sortedFileList)
|
||||||
{
|
{
|
||||||
GetCRC(entry, cachedCRCs);
|
GetCRC(entry, cachedCRCs);
|
||||||
|
|
Loading…
Reference in a new issue