aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.Client/Common/DLC/DLCPack.cpp
diff options
context:
space:
mode:
authorvoid_17 <61356189+void2012@users.noreply.github.com>2026-03-02 02:15:04 +0700
committerGitHub <noreply@github.com>2026-03-02 02:15:04 +0700
commit38b442b1e33726f011fd6a28824fb8e6e99ccb5a (patch)
tree786ce5f5a3fc3ac0f1010ac3fbb944862741c554 /Minecraft.Client/Common/DLC/DLCPack.cpp
parentf5ebb5bfff1c54d031a682dfba1b29f70ffb90df (diff)
parent6080c4ceac7a0968db06deac0853209f69aba2ab (diff)
Merge pull request #37 from simulpingus/main
Unlock DLC, fix world names in load menu, fix dlc pack titles
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;
- }
+ }*/
}