From f6f58a43704552e84dc37a3a02cf5ab460ffeb10 Mon Sep 17 00:00:00 2001 From: Nat Quayle Nelson Date: Wed, 9 Apr 2025 09:39:22 -0500 Subject: [PATCH] fix item duplication bug I caused --- src/game/boe.items.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/game/boe.items.cpp b/src/game/boe.items.cpp index bbf0b3c9..00b4d6de 100644 --- a/src/game/boe.items.cpp +++ b/src/game/boe.items.cpp @@ -219,6 +219,9 @@ void give_thing(short pc_num, short item_num) { // were viable. showFatalError("Unexpectedly failed to give item!"); } + if(take_given_item){ + univ.party[pc_num].take_item(item_num); + } } } }