From 0df491eeacf9dd51958a7ea69c67b15ad5901ba1 Mon Sep 17 00:00:00 2001 From: Juliano Leal Goncalves Date: Fri, 16 Apr 2021 01:19:51 -0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Ensure=20picked=20up=20items=20o?= =?UTF-8?q?n=20the=20ground=20are=20removed?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Source/inv.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/inv.cpp b/Source/inv.cpp index 5353e8884..a79cdd25f 100644 --- a/Source/inv.cpp +++ b/Source/inv.cpp @@ -1911,7 +1911,7 @@ void AutoGetItem(int pnum, ItemStruct *item, int ii) } if (done) { - CleanupItems(&plr[pnum].HoldItem, ii); + CleanupItems(&items[ii], ii); return; }