We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 05c5eeb commit 52c5352Copy full SHA for 52c5352
1 file changed
src/Checksum.cpp
@@ -440,14 +440,16 @@ static void initFileSums() {
440
path.find("portal2_dlc1") == std::string::npos &&
441
path.find("portal2_dlc2") == std::string::npos;
442
443
+ bool isVpkDir = Utils::EndsWith(path, "_dir.vpk");
444
+
445
if (Utils::EndsWith(path, ".nut")
- || (Utils::EndsWith(path, ".vpk") && dlc)
446
+ || (Utils::EndsWith(path, ".vpk") && dlc && !isVpkDir)
447
|| path.find("scripts/talker") != std::string::npos)
448
{
449
paths.push_back(path);
450
}
451
- if (Utils::EndsWith(path, "_dir.vpk")) {
452
+ if (isVpkDir) {
453
vpkDirPaths.push_back(path);
454
455
0 commit comments