From 70dc796287474b3946bb41d4e611b189ba6a0393 Mon Sep 17 00:00:00 2001 From: qndel Date: Wed, 22 Sep 2021 09:19:16 +0200 Subject: [PATCH] proper fix --- Source/inv.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/inv.cpp b/Source/inv.cpp index 667aa084e..14b32ab1b 100644 --- a/Source/inv.cpp +++ b/Source/inv.cpp @@ -492,7 +492,7 @@ void CheckInvPaste(int pnum, Point cursorPosition) } }; inv_body_loc slot = iLocToInvLoc(il); - NetSendCmdChItem(false, il); + NetSendCmdChItem(false, slot); if (player.InvBody[slot].isEmpty()) player.InvBody[slot] = player.HoldItem; else