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:
parent
27c6eaa0fc
commit
3c42c9a9f2
1 changed files with 3 additions and 0 deletions
|
@ -6730,6 +6730,9 @@ void Commands::Command_Inventory(Client* client, Seperator* sep, EQ2_RemoteComma
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(to_slot == item->details.slot_id && (bag_id < 0 || bag_id == item->details.inv_slot_id)) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
if(item->details.item_locked)
|
if(item->details.item_locked)
|
||||||
{
|
{
|
||||||
client->SimpleMessage(CHANNEL_COLOR_RED, "You cannot move the item in use.");
|
client->SimpleMessage(CHANNEL_COLOR_RED, "You cannot move the item in use.");
|
||||||
|
|
Loading…
Reference in a new issue