aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.Client/Common/DLC/DLCPack.cpp
diff options
context:
space:
mode:
authorOmri <omrih.e@protonmail.com>2026-03-02 00:00:08 +0200
committerGitHub <noreply@github.com>2026-03-02 00:00:08 +0200
commit0d33cfbdbc4c3a80528bd263ce6e53be85340713 (patch)
treef4640efcc7d8ba60e3f925eda1d1e2cba9b33c36 /Minecraft.Client/Common/DLC/DLCPack.cpp
parent34d398cf1b3aa1bfa22a2e4ba434d8b6b63b3dc3 (diff)
parent071d4f65998d617440ade95bd291e47a6a220c59 (diff)
Merge branch 'smartcmd:main' into main
Diffstat (limited to 'Minecraft.Client/Common/DLC/DLCPack.cpp')
-rw-r--r--Minecraft.Client/Common/DLC/DLCPack.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/Minecraft.Client/Common/DLC/DLCPack.cpp b/Minecraft.Client/Common/DLC/DLCPack.cpp
index 23a2e44a..507e51a7 100644
--- a/Minecraft.Client/Common/DLC/DLCPack.cpp
+++ b/Minecraft.Client/Common/DLC/DLCPack.cpp
@@ -382,7 +382,10 @@ DWORD DLCPack::getFileIndexAt(DLCManager::EDLCType type, const wstring &path, bo
bool DLCPack::hasPurchasedFile(DLCManager::EDLCType type, const wstring &path)
{
- if(type == DLCManager::e_DLCType_All)
+ // Patch all DLC to be "purchased"
+ return true;
+
+ /*if(type == DLCManager::e_DLCType_All)
{
app.DebugPrintf("Unimplemented\n");
#ifndef _CONTENT_PACKAGE
@@ -406,5 +409,5 @@ bool DLCPack::hasPurchasedFile(DLCManager::EDLCType type, const wstring &path)
{
//purchased
return true;
- }
+ }*/
}