Browse Source

Add bugfix for dupe bug

pull/393/head
galaxyhaxz 7 years ago committed by Anders Jenbo
parent
commit
85afd0768a
  1. 2
      Source/inv.cpp

2
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);

Loading…
Cancel
Save