View Single Post
  #2  
Old 03-01-2010, 06:54 PM
Rogean's Avatar
Rogean
Administrator
 
Join Date: Jul 2003
Location: Massachusetts
Posts: 708
Default

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;
	}
__________________
EQEmulator Developer / Administrator
Reply With Quote