Core/Corpses: Misc fixes

* Updated corpse flags
* Fixed corpse guid during creation
* Properly set corpse faction
* Fixed setting weapon inventory types if transmogrified
* Fixed corpse location query response when corpse cannot be found
This commit is contained in:
Shauren
2017-05-01 20:19:55 +02:00
parent 00f28a81af
commit 713783531c
5 changed files with 22 additions and 23 deletions

View File

@@ -173,6 +173,7 @@ void WorldSession::HandleQueryCorpseLocation(WorldPackets::Query::QueryCorpseLoc
{
WorldPackets::Query::CorpseLocation packet;
packet.Valid = false; // corpse not found
packet.Player = queryCorpseLocation.Player;
SendPacket(packet.Write());
return;
}