From 85afd0768a78731ac4cf041179e0731d1fa77bad Mon Sep 17 00:00:00 2001 From: galaxyhaxz Date: Fri, 18 Oct 2019 06:33:10 -0500 Subject: [PATCH] Add bugfix for dupe bug --- Source/inv.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/inv.cpp b/Source/inv.cpp index 036f203e9..9ffbb043d 100644 --- a/Source/inv.cpp +++ b/Source/inv.cpp @@ -1521,7 +1521,7 @@ void AutoGetItem(int pnum, int ii) } item[ii]._iCreateInfo &= 0x7FFF; - plr[pnum].HoldItem = item[ii]; + plr[pnum].HoldItem = item[ii]; /// BUGFIX: overwrites cursor item, allowing for belt dupe bug CheckQuestItem(pnum); CheckBookLevel(pnum); CheckItemStats(pnum);