Inventory can no longer fold into itself (delete item) when you move item to its original slot holding left click

This commit is contained in:
Emagi 2022-09-25 11:35:41 -04:00
parent 27c6eaa0fc
commit 3c42c9a9f2

View file

@ -6730,6 +6730,9 @@ void Commands::Command_Inventory(Client* client, Seperator* sep, EQ2_RemoteComma
return;
}
if(to_slot == item->details.slot_id && (bag_id < 0 || bag_id == item->details.inv_slot_id)) {
return;
}
if(item->details.item_locked)
{
client->SimpleMessage(CHANNEL_COLOR_RED, "You cannot move the item in use.");