diff --git a/zone/corpse.cpp b/zone/corpse.cpp index c72f96372..f028b4555 100644 --- a/zone/corpse.cpp +++ b/zone/corpse.cpp @@ -1071,6 +1071,10 @@ void Corpse::LootItem(Client* client, const EQApplicationPacket* app) if(!loot_cooldown_timer.Check()) { SendEndLootErrorPacket(client); + //unlock corpse for others + if (this->BeingLootedBy = client->GetID()) { + BeingLootedBy = 0xFFFFFFFF; + } return; } @@ -1079,6 +1083,10 @@ void Corpse::LootItem(Client* client, const EQApplicationPacket* app) { client->Message(13, "You may not loot an item while you have an item on your cursor."); SendEndLootErrorPacket(client); + //unlock corpse for others + if (this->BeingLootedBy = client->GetID()) { + BeingLootedBy = 0xFFFFFFFF; + } return; }