mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-14 11:31:30 +00:00
[Inventory] Fix cursor bag saving to invalid slot_ids (#4640)
This commit is contained in:
parent
49917bfb13
commit
f1852e16b7
@ -222,6 +222,10 @@ bool SharedDatabase::SaveCursor(
|
|||||||
if (!SaveInventory(char_id, inst, use_slot)) {
|
if (!SaveInventory(char_id, inst, use_slot)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (i == EQ::invslot::slotCursor) {
|
||||||
|
i = EQ::invbag::CURSOR_BAG_BEGIN;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user