In void Corpse::MakeLootRequestPackets(Client* client, const EQApplicationPacket* app) {:
Replace:
Code:
if (this->BeingLootedBy != 0xFFFFFFFF) {
// lets double check....
Entity* looter = entity_list.GetID(this->BeingLootedBy);
if (looter == 0)
this->BeingLootedBy = 0xFFFFFFFF;
}
With:
Code:
if (this->BeingLootedBy != 0xFFFFFFFF) {
// lets double check....
Entity* looter = entity_list.GetID(this->BeingLootedBy);
if (looter == 0 || !looter->IsClient())
this->BeingLootedBy = 0xFFFFFFFF;
}