From f1852e16b71e3e6d228af5f2b6f7a263f1d69848 Mon Sep 17 00:00:00 2001 From: nytmyr <53322305+nytmyr@users.noreply.github.com> Date: Tue, 4 Feb 2025 00:36:07 -0600 Subject: [PATCH] [Inventory] Fix cursor bag saving to invalid slot_ids (#4640) --- common/shareddb.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/common/shareddb.cpp b/common/shareddb.cpp index 0674f222f..7ee681ec5 100644 --- a/common/shareddb.cpp +++ b/common/shareddb.cpp @@ -222,6 +222,10 @@ bool SharedDatabase::SaveCursor( if (!SaveInventory(char_id, inst, use_slot)) { return false; } + + if (i == EQ::invslot::slotCursor) { + i = EQ::invbag::CURSOR_BAG_BEGIN; + } } return true;